summaryrefslogtreecommitdiff
path: root/test/Integration/cocoa.m
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-05-04 13:00:32 +0000
committerAlp Toker <alp@nuanti.com>2014-05-04 13:00:32 +0000
commit2b59ca4f9c95eafb3e00c32c6423b7012ef50e73 (patch)
tree9c032f38d0c815f742bc3a6ba913873c68c53d51 /test/Integration/cocoa.m
parent7a6df65a058a733c99f8821ec14a4ece4fa33071 (diff)
downloadclang-2b59ca4f9c95eafb3e00c32c6423b7012ef50e73.tar.gz
clang-2b59ca4f9c95eafb3e00c32c6423b7012ef50e73.tar.bz2
clang-2b59ca4f9c95eafb3e00c32c6423b7012ef50e73.tar.xz
Split out header integration tests
These are somewhat arbitrary tests that check if "thing goes fine" when processing various platform-specific headers. Also move warn-sysheader.cpp to Misc where the other diagnostics infrastructure tests live. File moves only. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207936 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Integration/cocoa.m')
-rw-r--r--test/Integration/cocoa.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Integration/cocoa.m b/test/Integration/cocoa.m
new file mode 100644
index 0000000000..d814b3ee21
--- /dev/null
+++ b/test/Integration/cocoa.m
@@ -0,0 +1,5 @@
+// RUN: %clang -arch x86_64 %s -fsyntax-only -Xclang -print-stats
+#ifdef __APPLE__
+#include <Cocoa/Cocoa.h>
+#endif
+