Switch to using %clang_cc1 properly rather than manually passing the -cc1 flag.

llvm-svn: 118996
This commit is contained in:
Chandler Carruth 2010-11-13 10:19:35 +00:00
parent e69afc6bb7
commit 456daba135
2 changed files with 3 additions and 3 deletions

View File

@ -2,8 +2,8 @@
// RUN: %clang %s -S -emit-llvm -o - -DPROTOTYPE | grep -e "define linkonce_odr.*_ZlsR11std_ostreamRK8StreamerI3FooE"
// RUN: %clang %s -S -emit-llvm -o - -DINSTANTIATE | grep -e "define linkonce_odr.*_ZlsR11std_ostreamRK8StreamerI3FooE"
// RUN: %clang %s -S -emit-llvm -o - -DPROTOTYPE -DINSTANTIATE | grep -e "define linkonce_odr.*_ZlsR11std_ostreamRK8StreamerI3FooE"
// RUN: %clang -cc1 %s -DREDEFINE -verify
// RUN: %clang -cc1 %s -DPROTOTYPE -DREDEFINE -verify
// RUN: %clang_cc1 %s -DREDEFINE -verify
// RUN: %clang_cc1 %s -DPROTOTYPE -DREDEFINE -verify
// PR8007: friend function not instantiated, reordered version.
// Corresponds to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38392

View File

@ -1,5 +1,5 @@
// RUN: %clang %s -S -emit-llvm -o - | grep -e "define linkonce_odr.*_ZlsR11std_ostreamRK8StreamerI3FooE"
// RUN: %clang -cc1 %s -DREDEFINE -verify
// RUN: %clang_cc1 %s -DREDEFINE -verify
// PR8007: friend function not instantiated.
struct std_ostream