diff options
Diffstat (limited to 'test/CodeCompletion/macros.c')
-rw-r--r-- | test/CodeCompletion/macros.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/CodeCompletion/macros.c b/test/CodeCompletion/macros.c index d5c1f8f..20d26f2 100644 --- a/test/CodeCompletion/macros.c +++ b/test/CodeCompletion/macros.c @@ -13,9 +13,9 @@ struct Point { }; void test(struct Point *p) { - // RUN: clang-cc -fsyntax-only -code-completion-at=%s:17:14 %s -o - | FileCheck -check-prefix=CC1 %s && + // RUN: clang-cc -fsyntax-only -code-completion-macros -code-completion-at=%s:17:14 %s -o - | FileCheck -check-prefix=CC1 %s switch (p->IDENTITY(color)) { - // RUN: clang-cc -fsyntax-only -code-completion-at=%s:19:9 %s -o - | FileCheck -check-prefix=CC2 %s && + // RUN: clang-cc -fsyntax-only -code-completion-macros -code-completion-at=%s:19:9 %s -o - | FileCheck -check-prefix=CC2 %s case } // CC1: color @@ -33,5 +33,4 @@ void test(struct Point *p) { // CC2: FOO // CC2: IDENTITY(<#X#>) // CC2: WIBBLE - // RUN: true } |