summaryrefslogtreecommitdiff
path: root/clang/test/CodeCompletion/namespace.cpp
blob: ecd848039a87fb54510a5cec2648e7f23379b19d (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
namespace N3 {
}

namespace N2 {
  namespace I1 { }
  namespace I4 = I1;
  namespace I5 { }
  namespace I1 { }
  
  namespace
  // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:10:12 %s -o - | FileCheck -check-prefix=CC1 %s
  // CHECK-CC1: I1
  // CHECK-CC1-NEXT: I5