]> granicus.if.org Git - clang/commitdiff
Add carbon.cpp and cocoa.mm tests
authorAnders Carlsson <andersca@mac.com>
Sat, 23 Aug 2008 22:21:00 +0000 (22:21 +0000)
committerAnders Carlsson <andersca@mac.com>
Sat, 23 Aug 2008 22:21:00 +0000 (22:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55262 91177308-0d34-0410-b5e6-96231b3b80d8

test/SemaCXX/carbon.cpp [new file with mode: 0644]
test/SemaObjCXX/cocoa.mm [new file with mode: 0644]

diff --git a/test/SemaCXX/carbon.cpp b/test/SemaCXX/carbon.cpp
new file mode 100644 (file)
index 0000000..9c9c378
--- /dev/null
@@ -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 (file)
index 0000000..7cb1b52
--- /dev/null
@@ -0,0 +1,5 @@
+// RUN: clang %s -print-stats
+#ifdef __APPLE__
+#include <Cocoa/Cocoa.h>
+#endif
+