aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/CodeCompletion/tag.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeCompletion/tag.cpp b/test/CodeCompletion/tag.cpp
index addad9d769..d8f6f2fa0a 100644
--- a/test/CodeCompletion/tag.cpp
+++ b/test/CodeCompletion/tag.cpp
@@ -8,13 +8,20 @@ namespace N {
template<typename> class Z;
}
+namespace M {
+ class A;
+}
+using M::A;
+
namespace N {
class Y;
void test() {
// CHECK-CC1: Y : 2
// CHECK-CC1: Z : 2
+ // CHECK-CC1: A : 3
// CHECK-CC1: X : 3
// CHECK-CC1: Y : 3
+ // CHECK-CC1: M : 6
// CHECK-CC1: N : 6
class