aboutsummaryrefslogtreecommitdiff
path: root/test/Modules/renamed.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/Modules/renamed.m')
-rw-r--r--test/Modules/renamed.m8
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