From: Ted Kremenek Date: Thu, 8 Jan 2009 23:41:35 +0000 (+0000) Subject: Enhance -fsyntax-only test of Cocoa.h to also include testing for PTH. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e547757a256efeee887c96cfa495f3ca3dd55605;p=clang Enhance -fsyntax-only test of Cocoa.h to also include testing for PTH. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61957 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/SemaObjC/cocoa.m b/test/SemaObjC/cocoa.m index 7cb1b5295c..ac7d1dc666 100644 --- a/test/SemaObjC/cocoa.m +++ b/test/SemaObjC/cocoa.m @@ -1,4 +1,5 @@ -// RUN: clang %s -print-stats +// RUN: clang %s -print-stats && +// RUN: clang -x objective-c-header -o %t %s && clang -token-cache %t %s #ifdef __APPLE__ #include #endif