Eli Friedman | 35a2b79 | 2012-11-14 01:28:38 +0000 | [diff] [blame] | 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: {{^ \^~~~$}} | ||||
8 | void f() { | ||||
9 | ddd: | ||||
10 | ; | ||||
11 | } |