]> granicus.if.org Git - clang/commitdiff
tests: Tests which include system headers must use the driver, not -cc1.
authorDaniel Dunbar <daniel@zuster.org>
Tue, 10 Aug 2010 19:32:44 +0000 (19:32 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 10 Aug 2010 19:32:44 +0000 (19:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110708 91177308-0d34-0410-b5e6-96231b3b80d8

test/PCH/cxx-typeid.cpp

index 164b4bafe0726db2f61c2f469791fbeb44e00385..b20b17af27a3903fcd07b2bcd6e1626c3065f93c 100644 (file)
@@ -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);