blob: c43eb3789e680b317431c50d2cc42e9b5d370ff0 [file] [log] [blame]
Eli Friedman35a2b792012-11-14 01:28:38 +00001// 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: {{^ \^~~~$}}
8void f() {
9 ddd:
10 ;
11}