diff options
Diffstat (limited to 'test/CodeCompletion/ordinary-name.c')
-rw-r--r-- | test/CodeCompletion/ordinary-name.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/CodeCompletion/ordinary-name.c b/test/CodeCompletion/ordinary-name.c index a532409d60..caba130f8b 100644 --- a/test/CodeCompletion/ordinary-name.c +++ b/test/CodeCompletion/ordinary-name.c @@ -1,6 +1,3 @@ -// RUN: clang-cc -fsyntax-only -code-completion-dump=1 %s -o - | FileCheck -check-prefix=CC1 %s && -// RUN: true - struct X { int x; }; typedef struct X TYPEDEF; @@ -10,3 +7,5 @@ void foo() { // CHECK-CC1: y : 0 // CHECK-NEXT-CC1: TYPEDEF : 2 // CHECK-NEXT-CC1: foo : 2 + // RUN: clang-cc -fsyntax-only -code-completion-at=%s:6:9 %s -o - | FileCheck -check-prefix=CC1 %s && + // RUN: true |