summaryrefslogtreecommitdiffstats
path: root/test/Modules/self-import-header/test.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/Modules/self-import-header/test.m')
-rw-r--r--test/Modules/self-import-header/test.m8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Modules/self-import-header/test.m b/test/Modules/self-import-header/test.m
new file mode 100644
index 0000000..377c01d
--- /dev/null
+++ b/test/Modules/self-import-header/test.m
@@ -0,0 +1,8 @@
+// rdar://13840148
+
+// RUN: rm -rf %t
+// RUN: %clang -fsyntax-only -isysroot %S/../Inputs/System/usr/include -fmodules -fmodules-cache-path=%t \
+// RUN: -target x86_64-darwin \
+// RUN: -F %S -I %S %s -D__need_wint_t -Werror=implicit-function-declaration
+
+@import af;
OpenPOWER on IntegriCloud