
Following #143460, `:` began displaying as `colon` in the fix-it hint for a `case` with a missing colon, as is visible in the description of (the separate bug) #144052. This PR simply reverts a line that didn't need to be changed.
11 lines
287 B
C++
11 lines
287 B
C++
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
|
// RUN: not %clang_cc1 -fsyntax-only -fdiagnostics-parseable-fixits %s 2>&1 | FileCheck %s
|
|
|
|
void f(int x) {
|
|
switch (x) {
|
|
case 1 // expected-error {{expected ':' after 'case'}}
|
|
break;
|
|
}
|
|
}
|
|
// CHECK: fix-it:"{{.*}}":{6:11-6:11}:":"
|