summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Modules/Inputs')
-rw-r--r--clang/test/Modules/Inputs/DebugInfoNamespace/A.h3
-rw-r--r--clang/test/Modules/Inputs/DebugInfoNamespace/B.h3
-rw-r--r--clang/test/Modules/Inputs/DebugInfoNamespace/module.modulemap8
3 files changed, 14 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/DebugInfoNamespace/A.h b/clang/test/Modules/Inputs/DebugInfoNamespace/A.h
new file mode 100644
index 00000000000..dc5a1cd26ab
--- /dev/null
+++ b/clang/test/Modules/Inputs/DebugInfoNamespace/A.h
@@ -0,0 +1,3 @@
+namespace N {
+ struct A {};
+}
diff --git a/clang/test/Modules/Inputs/DebugInfoNamespace/B.h b/clang/test/Modules/Inputs/DebugInfoNamespace/B.h
new file mode 100644
index 00000000000..c9033a54d4e
--- /dev/null
+++ b/clang/test/Modules/Inputs/DebugInfoNamespace/B.h
@@ -0,0 +1,3 @@
+namespace N {
+ struct B {};
+}
diff --git a/clang/test/Modules/Inputs/DebugInfoNamespace/module.modulemap b/clang/test/Modules/Inputs/DebugInfoNamespace/module.modulemap
new file mode 100644
index 00000000000..9300fcf98c6
--- /dev/null
+++ b/clang/test/Modules/Inputs/DebugInfoNamespace/module.modulemap
@@ -0,0 +1,8 @@
+module A {
+ header "A.h"
+ export *
+}
+module B {
+ header "B.h"
+ export *
+}
OpenPOWER on IntegriCloud