diff options
| author | Manuel Klimek <klimek@google.com> | 2015-11-05 15:24:47 +0000 |
|---|---|---|
| committer | Manuel Klimek <klimek@google.com> | 2015-11-05 15:24:47 +0000 |
| commit | e8bd0db6988187ecea5bf9b0b6ebb12e15c63345 (patch) | |
| tree | ad7fde599036fb8f4905ed0a8d731fad08b16931 /clang/test/Modules/Inputs/private3 | |
| parent | ac1c0f8931afb198ff18f46b3bfe94a96710e833 (diff) | |
| download | bcm5719-llvm-e8bd0db6988187ecea5bf9b0b6ebb12e15c63345.tar.gz bcm5719-llvm-e8bd0db6988187ecea5bf9b0b6ebb12e15c63345.zip | |
Allow use of private headers in different sub-modules.
llvm-svn: 252170
Diffstat (limited to 'clang/test/Modules/Inputs/private3')
| -rw-r--r-- | clang/test/Modules/Inputs/private3/private.h | 7 | ||||
| -rw-r--r-- | clang/test/Modules/Inputs/private3/public.h | 11 |
2 files changed, 18 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/private3/private.h b/clang/test/Modules/Inputs/private3/private.h new file mode 100644 index 00000000000..cf34b14c2e5 --- /dev/null +++ b/clang/test/Modules/Inputs/private3/private.h @@ -0,0 +1,7 @@ +#ifndef PRIVATE_H +#define PRIVATE_H + +void priv(); + +#endif + diff --git a/clang/test/Modules/Inputs/private3/public.h b/clang/test/Modules/Inputs/private3/public.h new file mode 100644 index 00000000000..2cf9d214d34 --- /dev/null +++ b/clang/test/Modules/Inputs/private3/public.h @@ -0,0 +1,11 @@ +#ifndef PUBLIC_H +#define PUBLIC_H + +#include "private.h" + +void pub() { + priv(); +} + +#endif + |

