summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-08-23 01:08:54 +0000
committerChris Lattner <sabre@nondot.org>2007-08-23 01:08:54 +0000
commitc4e7a66036dd883d162696cfb14d1e497ffe9204 (patch)
tree614a6b624be3ce75f4c0f94ce14d4f63aef5644b
parentf2bcd37083c3115b4b2ed9decf2d782484a73412 (diff)
downloadbcm5719-llvm-c4e7a66036dd883d162696cfb14d1e497ffe9204.tar.gz
bcm5719-llvm-c4e7a66036dd883d162696cfb14d1e497ffe9204.zip
Test that cocoa parses with -parse-noop. In the future
(when ready) this test should change to test -fsyntax-only. llvm-svn: 41307
-rw-r--r--clang/test/Sema/cocoa.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/Sema/cocoa.m b/clang/test/Sema/cocoa.m
new file mode 100644
index 00000000000..955db7a1cfb
--- /dev/null
+++ b/clang/test/Sema/cocoa.m
@@ -0,0 +1,5 @@
+// RUN: clang %s -parse-noop -arch ppc
+#ifdef __APPLE__
+#include <Cocoa/Cocoa.h>
+#endif
+
OpenPOWER on IntegriCloud