clang/test/FixIt/fixit-newline-style.c
raw| 1 | // RUN: %clang_cc1 -pedantic -Wunused-label -fno-diagnostics-show-line-numbers -x c %s 2>&1 | FileCheck %s -strict-whitespace |
| 2 | |
| 3 | // This file intentionally uses a CRLF newline style |
| 4 | // CHECK: warning: unused label 'ddd' |
| 5 | // CHECK-NEXT: {{^ ddd:}} |
| 6 | // CHECK-NEXT: {{^ \^~~~$}} |
| 7 | // CHECK-NOT: {{^ ;}} |
| 8 | void f(void) { |
| 9 | ddd: |
| 10 | ; |
| 11 | } |