From 319437f457af59fa2efec6640d1e5565f4a45b3f Mon Sep 17 00:00:00 2001 From: Fariborz Jahanian Date: Fri, 11 Jan 2013 17:33:57 +0000 Subject: [PATCH] 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 --- test/CodeGenCXX/cxx11-trivial-initializer-struct.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.40.0