summaryrefslogtreecommitdiff
path: root/test/FixIt/fixit-newline-style.c
blob: c43eb3789e680b317431c50d2cc42e9b5d370ff0 (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %clang_cc1 -pedantic -Wunused-label -x c %s 2>&1 | FileCheck %s -strict-whitespace

// This file intentionally uses a CRLF newline style
// <rdar://problem/12639047>
// CHECK: warning: unused label 'ddd'
// CHECK-NEXT: {{^  ddd:}}
// CHECK-NEXT: {{^  \^~~~$}}
void f() {
  ddd:
  ;
}