1 | void f() { |
---|---|
2 | auto foo = bar; |
3 | switch(foo) { |
4 | case x: |
5 | break; |
6 | } |
7 | } |
8 | |
9 | // RUN: not %clang_cc1 -fsyntax-only -code-completion-at=%s:4:10 %s | FileCheck %s -allow-empty |
10 | // CHECK-NOT: COMPLETION: foo |
11 |
1 | void f() { |
---|---|
2 | auto foo = bar; |
3 | switch(foo) { |
4 | case x: |
5 | break; |
6 | } |
7 | } |
8 | |
9 | // RUN: not %clang_cc1 -fsyntax-only -code-completion-at=%s:4:10 %s | FileCheck %s -allow-empty |
10 | // CHECK-NOT: COMPLETION: foo |
11 |