]> granicus.if.org Git - clang/commitdiff
Test that cocoa parses with -parse-noop. In the future
authorChris Lattner <sabre@nondot.org>
Thu, 23 Aug 2007 01:08:54 +0000 (01:08 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 23 Aug 2007 01:08:54 +0000 (01:08 +0000)
(when ready) this test should change to test -fsyntax-only.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41307 91177308-0d34-0410-b5e6-96231b3b80d8

test/Sema/cocoa.m [new file with mode: 0644]

diff --git a/test/Sema/cocoa.m b/test/Sema/cocoa.m
new file mode 100644 (file)
index 0000000..955db7a
--- /dev/null
@@ -0,0 +1,5 @@
+// RUN: clang %s -parse-noop -arch ppc
+#ifdef __APPLE__
+#include <Cocoa/Cocoa.h>
+#endif
+