summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2015-08-18 23:42:50 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2015-08-18 23:42:50 +0000
commit401cd25b2346d13e2ae77d7ced4e798a252b15e4 (patch)
tree02678a2297f1d44648bc68b8130ef32bfa02d90b /clang/test/Modules/Inputs
parent386bb073d28933dcd61cdaac77f32948d73e3007 (diff)
downloadbcm5719-llvm-401cd25b2346d13e2ae77d7ced4e798a252b15e4.tar.gz
bcm5719-llvm-401cd25b2346d13e2ae77d7ced4e798a252b15e4.zip
[modules] Tests for r245390.
llvm-svn: 245391
Diffstat (limited to 'clang/test/Modules/Inputs')
-rw-r--r--clang/test/Modules/Inputs/explicit-build-overlap/a.h1
-rw-r--r--clang/test/Modules/Inputs/explicit-build-overlap/b.h1
-rw-r--r--clang/test/Modules/Inputs/explicit-build-overlap/def.map2
-rw-r--r--clang/test/Modules/Inputs/explicit-build-overlap/use.map3
4 files changed, 7 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/explicit-build-overlap/a.h b/clang/test/Modules/Inputs/explicit-build-overlap/a.h
new file mode 100644
index 00000000000..4c5cd949f23
--- /dev/null
+++ b/clang/test/Modules/Inputs/explicit-build-overlap/a.h
@@ -0,0 +1 @@
+struct A {};
diff --git a/clang/test/Modules/Inputs/explicit-build-overlap/b.h b/clang/test/Modules/Inputs/explicit-build-overlap/b.h
new file mode 100644
index 00000000000..c51edab1416
--- /dev/null
+++ b/clang/test/Modules/Inputs/explicit-build-overlap/b.h
@@ -0,0 +1 @@
+struct B {};
diff --git a/clang/test/Modules/Inputs/explicit-build-overlap/def.map b/clang/test/Modules/Inputs/explicit-build-overlap/def.map
new file mode 100644
index 00000000000..444faf7cb59
--- /dev/null
+++ b/clang/test/Modules/Inputs/explicit-build-overlap/def.map
@@ -0,0 +1,2 @@
+module a { textual header "a.h" }
+module b { header "a.h" header "b.h" }
diff --git a/clang/test/Modules/Inputs/explicit-build-overlap/use.map b/clang/test/Modules/Inputs/explicit-build-overlap/use.map
new file mode 100644
index 00000000000..456fbd06943
--- /dev/null
+++ b/clang/test/Modules/Inputs/explicit-build-overlap/use.map
@@ -0,0 +1,3 @@
+module "use" {
+ use a
+}
OpenPOWER on IntegriCloud