From: Fariborz Jahanian Date: Fri, 11 Jan 2013 17:33:57 +0000 (+0000) Subject: Add -std=c++98 to the test and minor improvment in addition. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=319437f457af59fa2efec6640d1e5565f4a45b3f;p=clang Add -std=c++98 to the test and minor improvment in addition. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172221 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGenCXX/cxx11-trivial-initializer-struct.cpp b/test/CodeGenCXX/cxx11-trivial-initializer-struct.cpp index 881a12ec8c..cded6da7be 100644 --- a/test/CodeGenCXX/cxx11-trivial-initializer-struct.cpp +++ b/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