mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-20 03:55:48 -04:00

- after "using", show anything that can be a nested-name-specifier. - after "using namespace", show any visible namespaces or namespace aliases - after "namespace", show any namespace definitions in the current scope - after "namespace identifier = ", show any visible namespaces or namespace aliases llvm-svn: 82251
23 lines
396 B
C++
23 lines
396 B
C++
// RUN: clang-cc -fsyntax-only -code-completion-dump=1 %s -o - | FileCheck -check-prefix=CC1 %s &&
|
|
// RUN: true
|
|
|
|
namespace N4 {
|
|
namespace N3 { }
|
|
}
|
|
|
|
class N3;
|
|
|
|
namespace N2 {
|
|
namespace I1 { }
|
|
namespace I4 = I1;
|
|
namespace I5 { }
|
|
namespace I1 { }
|
|
|
|
// CHECK-CC1: I1 : 1
|
|
// CHECK-CC1: I4 : 1
|
|
// CHECK-CC1: I5 : 1
|
|
// CHECK-CC1: N2 : 2
|
|
// CHECK-NEXT-CC1: N4 : 2
|
|
namespace New =
|
|
|