blob: eb1c2bd50e677083edff7fbb77c5ba2dbf4f5bfb [file] [log] [blame]
Douglas Gregor7e90c6d2009-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() {
Douglas Gregorea9b03e2009-09-22 21:11:38 +000014 using namespace
Daniel Dunbar8fbe78f2009-12-15 20:14:24 +000015 // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:14:20 %s -o - | FileCheck -check-prefix=CC1 %s
Douglas Gregor52ce62f2010-01-13 23:24:38 +000016 // CHECK-CC1: I1
17 // CHECK-CC1: I4
18 // CHECK-CC1: I5
19 // CHECK-CC1: N2
20 // CHECK-CC1-NEXT: N4