xref: /aosp_15_r20/external/clang/test/FixIt/fixit-newline-style.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
1 // RUN: %clang_cc1 -pedantic -Wunused-label -x c %s 2>&1 | FileCheck %s -strict-whitespace
2 
3 // This file intentionally uses a CRLF newline style
4 // <rdar://problem/12639047>
5 // CHECK: warning: unused label 'ddd'
6 // CHECK-NEXT: {{^  ddd:}}
7 // CHECK-NEXT: {{^  \^~~~$}}
f()8 void f() {
9   ddd:
10   ;
11 }
12