Skip to content

Commit

Permalink
Fixed test case asserts due to checkin of r130710.
Browse files Browse the repository at this point in the history
llvm-svn: 130720
  • Loading branch information
Chad Rosier committed May 2, 2011
1 parent 2a7c219 commit f897d3b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion clang/test/CodeGen/inline.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
// RUN: grep "define available_externally i32 @test5" %t

// RUN: echo "\nC++ tests:"
// RUN: %clang %s -O1 -emit-llvm -S -o %t -std=c++98
// RUN: %clang -x c++ %s -O1 -emit-llvm -S -o %t -std=c++98
// RUN: grep "define linkonce_odr i32 @_Z2eiv()" %t
// RUN: grep "define linkonce_odr i32 @_Z3foov()" %t
// RUN: grep "define i32 @_Z3barv()" %t
Expand Down
2 changes: 1 addition & 1 deletion clang/test/FixIt/fixit-cxx0x.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %clang_cc1 -verify -std=c++0x %s
// RUN: cp %s %t
// RUN: %clang_cc1 -std=c++0x -fixit %t || true
// RUN: %clang_cc1 -x c++ -std=c++0x -fixit %t || true
// RUN: %clang_cc1 -Wall -pedantic -x c++ -std=c++0x %t

/* This is a test of the various code modification hints that only
Expand Down
6 changes: 3 additions & 3 deletions clang/test/PCH/cxx-for-range.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Test this without pch.
// RUN: %clang_cc1 -std=c++0x -include %S/cxx-for-range.h -fsyntax-only -emit-llvm -o - %s
// RUN: %clang_cc1 -x c++ -std=c++0x -include %S/cxx-for-range.h -fsyntax-only -emit-llvm -o - %s

// Test with pch.
// RUN: %clang_cc1 -std=c++0x -emit-pch -o %t %S/cxx-for-range.h
// RUN: %clang_cc1 -std=c++0x -include-pch %t -fsyntax-only -emit-llvm -o - %s
// RUN: %clang_cc1 -x c++ -std=c++0x -emit-pch -o %t %S/cxx-for-range.h
// RUN: %clang_cc1 -x c++ -std=c++0x -include-pch %t -fsyntax-only -emit-llvm -o - %s

void h() {
f();
Expand Down
6 changes: 3 additions & 3 deletions clang/test/PCH/cxx-reference.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Test this without pch.
// RUN: %clang_cc1 -std=c++0x -include %S/cxx-reference.h -fsyntax-only -emit-llvm -o - %s
// RUN: %clang_cc1 -x c++ -std=c++0x -include %S/cxx-reference.h -fsyntax-only -emit-llvm -o - %s

// Test with pch.
// RUN: %clang_cc1 -std=c++0x -emit-pch -o %t %S/cxx-reference.h
// RUN: %clang_cc1 -std=c++0x -include-pch %t -fsyntax-only -emit-llvm -o - %s
// RUN: %clang_cc1 -x c++ -std=c++0x -emit-pch -o %t %S/cxx-reference.h
// RUN: %clang_cc1 -x c++ -std=c++0x -include-pch %t -fsyntax-only -emit-llvm -o - %s
2 changes: 1 addition & 1 deletion clang/test/Sema/illegal-types.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %clang_cc1 -fsyntax-only -verify -std=c++98 %s
// RUN: %clang_cc1 -fsyntax-only -verify -x c++ -std=c++98 %s

void a (void []()); // expected-error{{'type name' declared as array of functions}}
void b (void p[]()); // expected-error{{'p' declared as array of functions}}
Expand Down

0 comments on commit f897d3b

Please sign in to comment.