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

namespace N {
  struct B { };
}

N::
// RUN: clang-cc -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
// RUN: true

OpenPOWER on IntegriCloud