Re-enable PTH testing for cocoa.h and carbon.h. This tests that PTH works on

real-world header files and these tests have caught serious bugs in the past.

llvm-svn: 68204
This commit is contained in:
Ted Kremenek 2009-04-01 15:28:20 +00:00
parent e14b368fa9
commit 455de13de1
2 changed files with 9 additions and 2 deletions

View File

@ -1,4 +1,8 @@
// RUN: clang-cc %s -fsyntax-only -print-stats
// RUN: clang-cc %s -print-stats &&
// RUN: clang-cc %s -disable-free &&
// RUN: clang-cc -emit-pth -o %t %s &&
// RUN: clang-cc -token-cache %t %s &&
// RUN: clang-cc -token-cache %t %s -E %s -o /dev/null
#ifdef __APPLE__
#include <Carbon/Carbon.h>
#endif

View File

@ -1,5 +1,8 @@
// RUN: clang-cc %s -print-stats &&
// RUN: clang-cc %s -disable-free
// RUN: clang-cc %s -disable-free &&
// RUN: clang-cc -emit-pth -o %t %s &&
// RUN: clang-cc -token-cache %t %s &&
// RUN: clang-cc -token-cache %t %s -E %s -o /dev/null
#ifdef __APPLE__
#include <Cocoa/Cocoa.h>
#endif