Kadir Cetinkaya | 6d57266 | 2018-10-23 13:49:37 +0000 | [diff] [blame] | 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 |