Douglas Gregor | 49f40bd | 2009-09-18 19:03:04 +0000 | [diff] [blame] | 1 | namespace N4 { |
2 | namespace N3 { } | ||||
3 | } | ||||
4 | |||||
5 | class N3; | ||||
6 | |||||
7 | namespace N2 { | ||||
8 | namespace I1 { } | ||||
9 | namespace I4 = I1; | ||||
10 | namespace I5 { } | ||||
11 | namespace I1 { } | ||||
12 | |||||
Douglas Gregor | b657f11 | 2009-09-22 21:11:38 +0000 | [diff] [blame] | 13 | namespace New = |
14 | // RUN: clang-cc -fsyntax-only -code-completion-at=%s:13:18 %s -o - | FileCheck -check-prefix=CC1 %s && | ||||
Douglas Gregor | 49f40bd | 2009-09-18 19:03:04 +0000 | [diff] [blame] | 15 | // CHECK-CC1: I1 : 1 |
16 | // CHECK-CC1: I4 : 1 | ||||
17 | // CHECK-CC1: I5 : 1 | ||||
18 | // CHECK-CC1: N2 : 2 | ||||
19 | // CHECK-NEXT-CC1: N4 : 2 | ||||
Douglas Gregor | b657f11 | 2009-09-22 21:11:38 +0000 | [diff] [blame] | 20 | // RUN: true |
21 |