diff options
| author | Fariborz Jahanian <fjahanian@apple.com> | 2013-01-11 17:33:57 +0000 |
|---|---|---|
| committer | Fariborz Jahanian <fjahanian@apple.com> | 2013-01-11 17:33:57 +0000 |
| commit | 1e8a3c8ebd86bf936b565ed25e75731cc6f5f00e (patch) | |
| tree | 77fac43abce6723de31dcd91ac10e4b9459f0785 | |
| parent | 962318f6b4741a6e4a6f6de8e491d98433b7fbff (diff) | |
| download | bcm5719-llvm-1e8a3c8ebd86bf936b565ed25e75731cc6f5f00e.tar.gz bcm5719-llvm-1e8a3c8ebd86bf936b565ed25e75731cc6f5f00e.zip | |
Add -std=c++98 to the test and minor improvment in addition.
llvm-svn: 172221
| -rw-r--r-- | clang/test/CodeGenCXX/cxx11-trivial-initializer-struct.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenCXX/cxx11-trivial-initializer-struct.cpp b/clang/test/CodeGenCXX/cxx11-trivial-initializer-struct.cpp index 881a12ec8c0..cded6da7be1 100644 --- a/clang/test/CodeGenCXX/cxx11-trivial-initializer-struct.cpp +++ b/clang/test/CodeGenCXX/cxx11-trivial-initializer-struct.cpp @@ -1,6 +1,6 @@ -// RUN: %clang_cc1 -std=c++11 -S -emit-llvm -o - %s -triple x86_64-apple-darwin10 | FileCheck %s -// RUN: %clang_cc1 -S -emit-llvm -o %t.ll %s -triple x86_64-apple-darwin10 // RUN: %clang_cc1 -std=c++11 -S -emit-llvm -o %t-c++11.ll %s -triple x86_64-apple-darwin10 +// RUN: FileCheck %s < %t-c++11.ll +// RUN: %clang_cc1 -std=c++98 -S -emit-llvm -o %t.ll %s -triple x86_64-apple-darwin10 // RUN: diff %t.ll %t-c++11.ll // rdar://12897704 |

