diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-01-14 15:38:35 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-01-14 15:38:35 +0000 |
commit | d2e0a8dd949ab874c6d66f97106bd5c270e2fa7d (patch) | |
tree | e8a99a0386e8f6bece630700da5915c8a312c2d9 /test/Modules/Inputs/import-textual/M2 | |
parent | fdc82ccb3f2b23a89e7002fe8238e1422b00f96a (diff) |
Diffstat (limited to 'test/Modules/Inputs/import-textual/M2')
-rw-r--r-- | test/Modules/Inputs/import-textual/M2/A/A.h | 4 | ||||
-rw-r--r-- | test/Modules/Inputs/import-textual/M2/B/B.h | 4 | ||||
-rw-r--r-- | test/Modules/Inputs/import-textual/M2/module.modulemap | 17 | ||||
-rw-r--r-- | test/Modules/Inputs/import-textual/M2/someheader.h | 1 |
4 files changed, 26 insertions, 0 deletions
diff --git a/test/Modules/Inputs/import-textual/M2/A/A.h b/test/Modules/Inputs/import-textual/M2/A/A.h new file mode 100644 index 000000000000..ebe4979d7c1e --- /dev/null +++ b/test/Modules/Inputs/import-textual/M2/A/A.h @@ -0,0 +1,4 @@ + +#import "someheader.h" + +typedef myint aint; diff --git a/test/Modules/Inputs/import-textual/M2/B/B.h b/test/Modules/Inputs/import-textual/M2/B/B.h new file mode 100644 index 000000000000..ba85071c014a --- /dev/null +++ b/test/Modules/Inputs/import-textual/M2/B/B.h @@ -0,0 +1,4 @@ + +#import "someheader.h" + +typedef myint bint; diff --git a/test/Modules/Inputs/import-textual/M2/module.modulemap b/test/Modules/Inputs/import-textual/M2/module.modulemap new file mode 100644 index 000000000000..f80194876caa --- /dev/null +++ b/test/Modules/Inputs/import-textual/M2/module.modulemap @@ -0,0 +1,17 @@ + +module M { + + module A { + header "A/A.h" + textual header "someheader.h" + export * + } + + module B { + header "B/B.h" + textual header "someheader.h" + export * + } + + export * +} diff --git a/test/Modules/Inputs/import-textual/M2/someheader.h b/test/Modules/Inputs/import-textual/M2/someheader.h new file mode 100644 index 000000000000..df2009a019b5 --- /dev/null +++ b/test/Modules/Inputs/import-textual/M2/someheader.h @@ -0,0 +1 @@ +typedef int myint; |