summaryrefslogtreecommitdiffstats
path: root/test/SemaTemplate/instantiate-using-decl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaTemplate/instantiate-using-decl.cpp')
-rw-r--r--test/SemaTemplate/instantiate-using-decl.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/SemaTemplate/instantiate-using-decl.cpp b/test/SemaTemplate/instantiate-using-decl.cpp
index fd9010f..a1cf355 100644
--- a/test/SemaTemplate/instantiate-using-decl.cpp
+++ b/test/SemaTemplate/instantiate-using-decl.cpp
@@ -1,5 +1,7 @@
// RUN: clang-cc -fsyntax-only -verify %s
+namespace N { }
+
template<typename T>
struct A {
void f();
@@ -10,6 +12,7 @@ struct B : A<T> {
using A<T>::f;
void g() {
+ using namespace N;
f();
}
};
OpenPOWER on IntegriCloud