aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2008-08-23 22:21:00 +0000
committerAnders Carlsson <andersca@mac.com>2008-08-23 22:21:00 +0000
commit4f3cc8189677ceb79293748a159010ac05f481a8 (patch)
tree86abb98ac50368d11570fd8002db4f8de7907bdf
parentc303606a8e2c1b7f8c985d0e7adf9fb9bb818070 (diff)
Add carbon.cpp and cocoa.mm tests
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55262 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/SemaCXX/carbon.cpp5
-rw-r--r--test/SemaObjCXX/cocoa.mm5
2 files changed, 10 insertions, 0 deletions
diff --git a/test/SemaCXX/carbon.cpp b/test/SemaCXX/carbon.cpp
new file mode 100644
index 0000000000..9c9c378040
--- /dev/null
+++ b/test/SemaCXX/carbon.cpp
@@ -0,0 +1,5 @@
+// RUN: clang %s -fsyntax-only -print-stats
+#ifdef __APPLE__
+#include <Carbon/Carbon.h>
+#endif
+
diff --git a/test/SemaObjCXX/cocoa.mm b/test/SemaObjCXX/cocoa.mm
new file mode 100644
index 0000000000..7cb1b5295c
--- /dev/null
+++ b/test/SemaObjCXX/cocoa.mm
@@ -0,0 +1,5 @@
+// RUN: clang %s -print-stats
+#ifdef __APPLE__
+#include <Cocoa/Cocoa.h>
+#endif
+