summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/self-import-header/af.framework
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2015-01-22 23:07:47 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2015-01-22 23:07:47 +0000
commit999500a26dfb1285bb9ea4dc489f49f7809d09d9 (patch)
tree0f3a34d577a2e23ee65f777b23baea9b9305bb5b /clang/test/Modules/Inputs/self-import-header/af.framework
parente8b5e49ffd3f21f80bceab0f9baeb35331106d55 (diff)
downloadbcm5719-llvm-999500a26dfb1285bb9ea4dc489f49f7809d09d9.tar.gz
bcm5719-llvm-999500a26dfb1285bb9ea4dc489f49f7809d09d9.zip
Reorganize test/Modules:
* Put all input files under Inputs/, move corresponding tests into test/Modules. * Rename a modulemap test file to [...].modulemap, and teach lit that such files are tests. llvm-svn: 226875
Diffstat (limited to 'clang/test/Modules/Inputs/self-import-header/af.framework')
-rw-r--r--clang/test/Modules/Inputs/self-import-header/af.framework/Headers/a1.h4
-rw-r--r--clang/test/Modules/Inputs/self-import-header/af.framework/Headers/a2.h1
-rw-r--r--clang/test/Modules/Inputs/self-import-header/af.framework/module.map4
3 files changed, 9 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/self-import-header/af.framework/Headers/a1.h b/clang/test/Modules/Inputs/self-import-header/af.framework/Headers/a1.h
new file mode 100644
index 00000000000..31ae279bde2
--- /dev/null
+++ b/clang/test/Modules/Inputs/self-import-header/af.framework/Headers/a1.h
@@ -0,0 +1,4 @@
+@import DepBuiltin;
+
+@interface Foo
+@end
diff --git a/clang/test/Modules/Inputs/self-import-header/af.framework/Headers/a2.h b/clang/test/Modules/Inputs/self-import-header/af.framework/Headers/a2.h
new file mode 100644
index 00000000000..cc7e6e20b66
--- /dev/null
+++ b/clang/test/Modules/Inputs/self-import-header/af.framework/Headers/a2.h
@@ -0,0 +1 @@
+#import "a1.h"
diff --git a/clang/test/Modules/Inputs/self-import-header/af.framework/module.map b/clang/test/Modules/Inputs/self-import-header/af.framework/module.map
new file mode 100644
index 00000000000..87176831df2
--- /dev/null
+++ b/clang/test/Modules/Inputs/self-import-header/af.framework/module.map
@@ -0,0 +1,4 @@
+framework module af {
+ header "a1.h"
+ header "a2.h"
+}
OpenPOWER on IntegriCloud