From: Ted Kremenek Date: Fri, 9 Jan 2009 00:41:48 +0000 (+0000) Subject: Re-enable PTH testing for Cocoa.h and Carbon.h (and include testing for Objective... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=be3f7f3fd8f6a2e71ff55039049da9f7db1e44db;p=clang Re-enable PTH testing for Cocoa.h and Carbon.h (and include testing for Objective-C++). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61965 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Sema/carbon.c b/test/Sema/carbon.c index 9c9c378040..94a707557f 100644 --- a/test/Sema/carbon.c +++ b/test/Sema/carbon.c @@ -1,4 +1,5 @@ -// RUN: clang %s -fsyntax-only -print-stats +// RUN: clang %s -fsyntax-only -print-stats && +// RUN: clang -x c-header -o %t %s && clang -token-cache %t %s #ifdef __APPLE__ #include #endif 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 diff --git a/test/SemaObjCXX/cocoa.mm b/test/SemaObjCXX/cocoa.mm index 7cb1b5295c..d6cbc04f94 100644 --- a/test/SemaObjCXX/cocoa.mm +++ b/test/SemaObjCXX/cocoa.mm @@ -1,5 +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 -