diff options
author | Douglas Gregor <dgregor@apple.com> | 2013-03-21 01:08:50 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2013-03-21 01:08:50 +0000 |
commit | cdf2808c4e735a717599751dcd2b434f239e1c68 (patch) | |
tree | 5fc928e9dcc83080ce96b9ef3a9980b54ea53bc0 /test/Modules/renamed.m | |
parent | b9da713efb4277753211590953f433723908aade (diff) | |
download | clang-cdf2808c4e735a717599751dcd2b434f239e1c68.tar.gz |
<rdar://problem/13037793> Allow the names of modules to differ from the name of their subdirectory in the include path.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@177621 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Modules/renamed.m')
-rw-r--r-- | test/Modules/renamed.m | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Modules/renamed.m b/test/Modules/renamed.m new file mode 100644 index 0000000000..4e8f5329bb --- /dev/null +++ b/test/Modules/renamed.m @@ -0,0 +1,8 @@ +@import NewName; + +int f() { return same_api; } + +// RUN: rm -rf %t +// RUN: %clang_cc1 -fmodules -I %S/Inputs -fmodules-cache-path=%t %s -verify + +// expected-no-diagnostics |