summaryrefslogtreecommitdiffstats
path: root/test/Sema/carbon.c
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-08-02 21:40:29 +0000
committerChris Lattner <sabre@nondot.org>2007-08-02 21:40:29 +0000
commit281a492261400cc9c1265046b46bee8452a1c56e (patch)
tree529d9de2fbf4f0155a52df372b227fdc7fa1c4e6 /test/Sema/carbon.c
parentad43ad47474a0e272827413eb1f0398698b8c90b (diff)
make sure we don't lose the ability to parse carbon.h
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@40759 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/carbon.c')
-rw-r--r--test/Sema/carbon.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Sema/carbon.c b/test/Sema/carbon.c
new file mode 100644
index 0000000000..523526edc9
--- /dev/null
+++ b/test/Sema/carbon.c
@@ -0,0 +1,5 @@
+// RUN: clang %s -fsyntax-only
+#ifdef __APPLE__
+#include <Carbon/Carbon.h>
+#endif
+