diff options
Diffstat (limited to 'clang/test/Modules/Inputs/submodules/import-self-b.h')
-rw-r--r-- | clang/test/Modules/Inputs/submodules/import-self-b.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/submodules/import-self-b.h b/clang/test/Modules/Inputs/submodules/import-self-b.h new file mode 100644 index 00000000000..f88b56d5f08 --- /dev/null +++ b/clang/test/Modules/Inputs/submodules/import-self-b.h @@ -0,0 +1,10 @@ +@import import_self.c; +#include "import-self-d.h" + +// FIXME: This should not work; names from 'a' should not be visible here. +MyTypeA import_self_test_a; + +// FIXME: This should work but does not; names from 'b' are not actually visible here. +//MyTypeC import_self_test_c; + +MyTypeD import_self_test_d; |