mirror of
https://github.com/Stichting-MINIX-Research-Foundation/netbsd.git
synced 2025-08-13 08:00:22 -04:00
12 lines
303 B
C
12 lines
303 B
C
// 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:
|
|
;
|
|
}
|