From cb5a955afb6dca9ad5f9fbdfa97789a93ba10660 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Wed, 1 Apr 2009 15:36:37 +0000 Subject: [PATCH] Add cocoa-pth.c test case, this got lost in shuffling PTH test cases. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68205 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/SemaObjC/cocoa-pth.m | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/SemaObjC/cocoa-pth.m diff --git a/test/SemaObjC/cocoa-pth.m b/test/SemaObjC/cocoa-pth.m new file mode 100644 index 0000000000..24b0579a24 --- /dev/null +++ b/test/SemaObjC/cocoa-pth.m @@ -0,0 +1,7 @@ +// 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 +#endif + -- 2.40.0