| 1 |
// RUN: %clang_cc1 -fsyntax-only -verify %s |
| 2 |
// RUN: not %clang_cc1 -fsyntax-only -fdiagnostics-parseable-fixits %s 2>&1 | FileCheck %s |
| 3 |
|
| 4 |
void f(int x) { |
| 5 |
switch (x) { |
| 6 |
case 1 // expected-error {{expected ':' after 'case'}} |
| 7 |
break; |
| 8 |
} |
| 9 |
} |
| 10 |
// CHECK: fix-it:"{{.*}}":{6:11-6:11}:":" |