[cfe-commits] r172221 - /cfe/trunk/test/CodeGenCXX/cxx11-trivial-initializer-struct.cpp

Fariborz Jahanian fjahanian at apple.com
Fri Jan 11 09:33:57 PST 2013


Author: fjahanian
Date: Fri Jan 11 11:33:57 2013
New Revision: 172221

URL: http://llvm.org/viewvc/llvm-project?rev=172221&view=rev
Log:
Add -std=c++98 to the test and minor improvment in addition.

Modified:
    cfe/trunk/test/CodeGenCXX/cxx11-trivial-initializer-struct.cpp

Modified: cfe/trunk/test/CodeGenCXX/cxx11-trivial-initializer-struct.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/cxx11-trivial-initializer-struct.cpp?rev=172221&r1=172220&r2=172221&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/cxx11-trivial-initializer-struct.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/cxx11-trivial-initializer-struct.cpp Fri Jan 11 11:33:57 2013
@@ -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





More information about the cfe-commits mailing list