summaryrefslogtreecommitdiffstats
path: root/test/Modules/cxx-inline-namespace.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Modules/cxx-inline-namespace.cpp')
-rw-r--r--test/Modules/cxx-inline-namespace.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Modules/cxx-inline-namespace.cpp b/test/Modules/cxx-inline-namespace.cpp
new file mode 100644
index 0000000..5b96790
--- /dev/null
+++ b/test/Modules/cxx-inline-namespace.cpp
@@ -0,0 +1,6 @@
+// RUN: rm -rf %t
+// RUN: %clang_cc1 -x objective-c++ -fmodules -fmodules-cache-path=%t -I %S/Inputs %s -verify -std=c++11
+
+@import cxx_inline_namespace;
+
+T x; // expected-error {{unknown type name 'T'}}
OpenPOWER on IntegriCloud