diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2010-08-10 19:32:44 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2010-08-10 19:32:44 +0000 |
| commit | 656f3bd3e2ff430703970708f19000a79cfcda4a (patch) | |
| tree | aca5f3b6f33ae41c19d0efb6e82056e6a2f1fd3a | |
| parent | 3f251fb26e086ff4c7352f409d8d2f7e1326c930 (diff) | |
| download | bcm5719-llvm-656f3bd3e2ff430703970708f19000a79cfcda4a.tar.gz bcm5719-llvm-656f3bd3e2ff430703970708f19000a79cfcda4a.zip | |
tests: Tests which include system headers must use the driver, not -cc1.
llvm-svn: 110708
| -rw-r--r-- | clang/test/PCH/cxx-typeid.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/PCH/cxx-typeid.cpp b/clang/test/PCH/cxx-typeid.cpp index 164b4bafe07..b20b17af27a 100644 --- a/clang/test/PCH/cxx-typeid.cpp +++ b/clang/test/PCH/cxx-typeid.cpp @@ -1,8 +1,8 @@ // Test this without pch. -// RUN: %clang_cc1 -include %S/cxx-typeid.h -fsyntax-only -verify %s +// RUN: %clang -include %S/cxx-typeid.h -fsyntax-only -verify %s -// RUN: %clang_cc1 -x c++-header -emit-pch -o %t %S/cxx-typeid.h -// RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s +// RUN: %clang -ccc-pch-is-pch -x c++-header -o %t.gch %S/cxx-typeid.h +// RUN: %clang -ccc-pch-is-pch -include %t -fsyntax-only -Xclang -verify %s void f() { (void)typeid(int); |

