| Douglas Gregor | 49f40bd | 2009-09-18 19:03:04 +0000 | [diff] [blame] | 1 | namespace N3 { |
| 2 | } | ||||
| 3 | |||||
| 4 | namespace N2 { | ||||
| 5 | namespace I1 { } | ||||
| 6 | namespace I4 = I1; | ||||
| 7 | namespace I5 { } | ||||
| 8 | namespace I1 { } | ||||
| 9 | |||||
| Douglas Gregor | b657f11 | 2009-09-22 21:11:38 +0000 | [diff] [blame] | 10 | namespace |
| Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 11 | // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:10:12 %s -o - | FileCheck -check-prefix=CC1 %s |
| Douglas Gregor | ab0b4f1 | 2010-01-13 23:24:38 +0000 | [diff] [blame] | 12 | // CHECK-CC1: I1 |
| 13 | // CHECK-CC1-NEXT: I5 | ||||
| Douglas Gregor | b657f11 | 2009-09-22 21:11:38 +0000 | [diff] [blame] | 14 | |