diff options
| author | joerg <joerg@NetBSD.org> | 2013-11-28 14:14:46 +0000 |
|---|---|---|
| committer | joerg <joerg@NetBSD.org> | 2013-11-28 14:14:46 +0000 |
| commit | ee25248631830d7bc690e83f098765fa1f12cc86 (patch) | |
| tree | ac5c1a9950e581b9b43934dbb8b75625aae5258a /external/bsd/llvm/dist/clang/test/CodeCompletion/using.cpp | |
| parent | e6417c18ba2204b4abc3c19acb8cc86af9ea8dcd (diff) | |
Import Clang 3.4rc1 r195771.
Diffstat (limited to 'external/bsd/llvm/dist/clang/test/CodeCompletion/using.cpp')
| -rw-r--r-- | external/bsd/llvm/dist/clang/test/CodeCompletion/using.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/external/bsd/llvm/dist/clang/test/CodeCompletion/using.cpp b/external/bsd/llvm/dist/clang/test/CodeCompletion/using.cpp new file mode 100644 index 00000000000..13ebb4b2d8d --- /dev/null +++ b/external/bsd/llvm/dist/clang/test/CodeCompletion/using.cpp @@ -0,0 +1,24 @@ +namespace N4 { + namespace N3 { } +} + +class N3; + +namespace N2 { + namespace I1 { } + namespace I4 = I1; + namespace I5 { } + namespace I1 { } + + void foo() { + int N3; + + using + // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:16:10 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s + // CHECK-CC1: I1 + // CHECK-CC1: I4 + // CHECK-CC1: I5 + // CHECK-CC1: N2 + // CHECK-CC1: N3 + // CHECK-CC1-NEXT: N4 + |
