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 | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 13 | // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:12:4 %s -o - | FileCheck -check-prefix=CC1 %s |
Douglas Gregor | ab0b4f1 | 2010-01-13 23:24:38 +0000 | [diff] [blame] | 14 | // CHECK-CC1: A |
15 | // CHECK-CC1: B | ||||
16 | // CHECK-CC1: M | ||||
Douglas Gregor | b657f11 | 2009-09-22 21:11:38 +0000 | [diff] [blame] | 17 |