]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/Index/complete-switch.c
Vendor import of clang trunk r351319 (just before the release_80 branch
[FreeBSD/FreeBSD.git] / test / Index / complete-switch.c
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