summaryrefslogtreecommitdiff
path: root/test/CodeCompletion/nested-name-specifier.cpp
blob: 643418accd070f47fec1d13bdb34d8b49fc7ed7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
namespace N {
  struct A { };
  namespace M { 
    struct C { };
  };
}

namespace N {
  struct B { };
}

N::
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:12:4 %s -o - | FileCheck -check-prefix=CC1 %s
// CHECK-CC1: A : 0
// CHECK-CC1: B : 0
// CHECK-CC1: M : 0