summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/vtable-available-externally.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2017-12-09 12:09:54 +0000
committerTim Northover <tnorthover@apple.com>2017-12-09 12:09:54 +0000
commit466d8da5f89b1a780f735c86f414fa69ce63221b (patch)
treec812f82b9c595170f108222cbec3c43a896d5c25 /test/CodeGenCXX/vtable-available-externally.cpp
parent6f13dd18c32ecf42b6c7402442d40e85aecee4a9 (diff)
Switch to gnu++14 as the default dialect.
This is C++14 with conforming GNU extensions. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@320250 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/vtable-available-externally.cpp')
-rw-r--r--test/CodeGenCXX/vtable-available-externally.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGenCXX/vtable-available-externally.cpp b/test/CodeGenCXX/vtable-available-externally.cpp
index 2e2cdbbfef..0e7e8b4a32 100644
--- a/test/CodeGenCXX/vtable-available-externally.cpp
+++ b/test/CodeGenCXX/vtable-available-externally.cpp
@@ -1,5 +1,5 @@
-// RUN: %clang_cc1 %s -I%S -triple=x86_64-apple-darwin10 -emit-llvm -o %t
-// RUN: %clang_cc1 %s -I%S -triple=x86_64-apple-darwin10 -O2 -disable-llvm-passes -emit-llvm -o %t.opt
+// RUN: %clang_cc1 %s -I%S -triple=x86_64-apple-darwin10 -std=c++98 -emit-llvm -o %t
+// RUN: %clang_cc1 %s -I%S -triple=x86_64-apple-darwin10 -std=c++98 -O2 -disable-llvm-passes -emit-llvm -o %t.opt
// RUN: FileCheck --check-prefix=CHECK-TEST1 %s < %t
// RUN: FileCheck --check-prefix=CHECK-TEST2 %s < %t
// RUN: FileCheck --check-prefix=CHECK-TEST5 %s < %t