diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2014-11-24 09:15:30 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2014-11-24 09:15:30 +0000 |
| commit | 9f4dbff6669c8037f3b036bcf580d14f1a4f12a5 (patch) | |
| tree | 47df2c12b57214af6c31e47404b005675b8b7ffc /test/Integration | |
| parent | f73d5f23a889b93d89ddef61ac0995df40286bb8 (diff) | |
Notes
Diffstat (limited to 'test/Integration')
| -rw-r--r-- | test/Integration/carbon.c | 4 | ||||
| -rw-r--r-- | test/Integration/cocoa-pch.m | 7 | ||||
| -rw-r--r-- | test/Integration/cocoa.m | 5 |
3 files changed, 16 insertions, 0 deletions
diff --git a/test/Integration/carbon.c b/test/Integration/carbon.c new file mode 100644 index 000000000000..0498116dd181 --- /dev/null +++ b/test/Integration/carbon.c @@ -0,0 +1,4 @@ +// RUN: %clang -fsyntax-only %s +#ifdef __APPLE__ +#include <Carbon/Carbon.h> +#endif diff --git a/test/Integration/cocoa-pch.m b/test/Integration/cocoa-pch.m new file mode 100644 index 000000000000..0159b3201492 --- /dev/null +++ b/test/Integration/cocoa-pch.m @@ -0,0 +1,7 @@ +// RUN: %clang -arch x86_64 -x objective-c-header %s -o %t.h.pch +// RUN: touch %t.empty.m +// RUN: %clang -arch x86_64 -fsyntax-only %t.empty.m -include %t.h -Xclang -ast-dump 2>&1 > /dev/null +#ifdef __APPLE__ +#include <Cocoa/Cocoa.h> +#endif + diff --git a/test/Integration/cocoa.m b/test/Integration/cocoa.m new file mode 100644 index 000000000000..d814b3ee21bc --- /dev/null +++ b/test/Integration/cocoa.m @@ -0,0 +1,5 @@ +// RUN: %clang -arch x86_64 %s -fsyntax-only -Xclang -print-stats +#ifdef __APPLE__ +#include <Cocoa/Cocoa.h> +#endif + |
