summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeCompletion/using.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeCompletion/using.cpp')
-rw-r--r--clang/test/CodeCompletion/using.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/clang/test/CodeCompletion/using.cpp b/clang/test/CodeCompletion/using.cpp
index 7bef3534599..27b85fc7661 100644
--- a/clang/test/CodeCompletion/using.cpp
+++ b/clang/test/CodeCompletion/using.cpp
@@ -1,6 +1,3 @@
-// RUN: clang-cc -fsyntax-only -code-completion-dump=1 %s -o - | FileCheck -check-prefix=CC1 %s &&
-// RUN: true
-
namespace N4 {
namespace N3 { }
}
@@ -16,12 +13,13 @@ namespace N2 {
void foo() {
int N3;
+ using
+ // RUN: clang-cc -fsyntax-only -code-completion-at=%s:16:10 %s -o - | FileCheck -check-prefix=CC1 %s &&
// CHECK-CC1: I1 : 2
// CHECK-CC1: I4 : 2
// CHECK-CC1: I5 : 2
// CHECK-CC1: N2 : 3
// CHECK-CC1: N3 : 3
// CHECK-NEXT-CC1: N4 : 3
- using
-
+ // RUN: true
OpenPOWER on IntegriCloud