diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-04-16 16:02:28 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-04-16 16:02:28 +0000 |
| commit | 7442d6faa2719e4e7d33a7021c406c5a4facd74d (patch) | |
| tree | c72b9241553fc9966179aba84f90f17bfa9235c3 /test/Modules/Inputs/codegen-flags | |
| parent | b52119637f743680a99710ce5fdb6646da2772af (diff) | |
Notes
Diffstat (limited to 'test/Modules/Inputs/codegen-flags')
| -rw-r--r-- | test/Modules/Inputs/codegen-flags/foo.h | 4 | ||||
| -rw-r--r-- | test/Modules/Inputs/codegen-flags/foo.modulemap | 1 | ||||
| -rw-r--r-- | test/Modules/Inputs/codegen-flags/use.cpp | 5 |
3 files changed, 10 insertions, 0 deletions
diff --git a/test/Modules/Inputs/codegen-flags/foo.h b/test/Modules/Inputs/codegen-flags/foo.h new file mode 100644 index 000000000000..7b9c1cd8e086 --- /dev/null +++ b/test/Modules/Inputs/codegen-flags/foo.h @@ -0,0 +1,4 @@ +struct foo { +}; +inline void f1() { +} diff --git a/test/Modules/Inputs/codegen-flags/foo.modulemap b/test/Modules/Inputs/codegen-flags/foo.modulemap new file mode 100644 index 000000000000..2e095d2794c3 --- /dev/null +++ b/test/Modules/Inputs/codegen-flags/foo.modulemap @@ -0,0 +1 @@ +module foo { header "foo.h" } diff --git a/test/Modules/Inputs/codegen-flags/use.cpp b/test/Modules/Inputs/codegen-flags/use.cpp new file mode 100644 index 000000000000..378ff3124e75 --- /dev/null +++ b/test/Modules/Inputs/codegen-flags/use.cpp @@ -0,0 +1,5 @@ +#include "foo.h" +void use() { + f1(); + foo f; +} |
