aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-09-18 17:54:00 +0000
committerDouglas Gregor <dgregor@apple.com>2009-09-18 17:54:00 +0000
commit75b7128e93d736331bde659b05cd176f9dd6d047 (patch)
tree05557f2fe3911cd8fabb940715339bae9e0c4bfe /test
parent33224e61bfca370850abae89bbd415a4dabe07fa (diff)
Handle using declarations and overload sets in code completion.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82233 91177308-0d34-0410-b5e6-96231b3b80d8
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