blob: 305afda2e6dd4a5f38fbe8dae2345b376d5e1e7d [file] [log] [blame]
Douglas Gregor49f40bd2009-09-18 19:03:04 +00001namespace N4 {
2 namespace N3 { }
3}
4
5class N3;
6
7namespace N2 {
8 namespace I1 { }
9 namespace I4 = I1;
10 namespace I5 { }
11 namespace I1 { }
12
13 void foo() {
14 int N3;
15
Douglas Gregorb657f112009-09-22 21:11:38 +000016 using
Daniel Dunbar4fcfde42009-11-08 01:45:36 +000017 // RUN: clang-cc -fsyntax-only -code-completion-at=%s:16:10 %s -o - | FileCheck -check-prefix=CC1 %s
Douglas Gregor49f40bd2009-09-18 19:03:04 +000018 // CHECK-CC1: I1 : 2
19 // CHECK-CC1: I4 : 2
20 // CHECK-CC1: I5 : 2
Douglas Gregor0563c262009-09-22 23:15:58 +000021 // CHECK-CC1: N2 : 4
22 // CHECK-CC1: N3 : 4
Douglas Gregor119fa682009-09-24 22:57:42 +000023 // CHECK-CC1-NEXT: N4 : 4
Douglas Gregor49f40bd2009-09-18 19:03:04 +000024