Douglas Gregor | 81b747b | 2009-09-17 21:32:03 +0000 | [diff] [blame] | 1 | namespace N { |
2 | struct A { }; | ||||
3 | namespace M { | ||||
4 | struct C { }; | ||||
5 | }; | ||||
6 | } | ||||
7 | |||||
8 | namespace N { | ||||
9 | struct B { }; | ||||
10 | } | ||||
11 | |||||
Douglas Gregor | b657f11 | 2009-09-22 21:11:38 +0000 | [diff] [blame] | 12 | N:: |
Daniel Dunbar | 4fcfde4 | 2009-11-08 01:45:36 +0000 | [diff] [blame] | 13 | // RUN: clang-cc -fsyntax-only -code-completion-at=%s:12:4 %s -o - | FileCheck -check-prefix=CC1 %s |
Douglas Gregor | 81b747b | 2009-09-17 21:32:03 +0000 | [diff] [blame] | 14 | // CHECK-CC1: A : 0 |
15 | // CHECK-CC1: B : 0 | ||||
16 | // CHECK-CC1: M : 0 | ||||
Douglas Gregor | b657f11 | 2009-09-22 21:11:38 +0000 | [diff] [blame] | 17 |