[cfe-commits] r110708 - /cfe/trunk/test/PCH/cxx-typeid.cpp

Daniel Dunbar daniel at zuster.org
Tue Aug 10 12:32:44 PDT 2010


Author: ddunbar
Date: Tue Aug 10 14:32:44 2010
New Revision: 110708

URL: http://llvm.org/viewvc/llvm-project?rev=110708&view=rev
Log:
tests: Tests which include system headers must use the driver, not -cc1.

Modified:
    cfe/trunk/test/PCH/cxx-typeid.cpp

Modified: cfe/trunk/test/PCH/cxx-typeid.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/PCH/cxx-typeid.cpp?rev=110708&r1=110707&r2=110708&view=diff
==============================================================================
--- cfe/trunk/test/PCH/cxx-typeid.cpp (original)
+++ cfe/trunk/test/PCH/cxx-typeid.cpp Tue Aug 10 14:32:44 2010
@@ -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);





More information about the cfe-commits mailing list