57 lines · plain
1// RUN: %ProtectFileCheckOutput \2// RUN: not FileCheck -match-full-lines -dump-input=never -input-file %s %s 2>&1 \3// RUN: | FileCheck --check-prefix=ERROR --implicit-check-not=error: %s4// RUN: %ProtectFileCheckOutput \5// RUN: not FileCheck -match-full-lines -strict-whitespace -dump-input=never -input-file %s %s \6// RUN: 2>&1 | FileCheck --check-prefix=ERROR-STRICT --check-prefix=ERROR \7// RUN: --implicit-check-not=error: %s8 9Label 110a line11trailing whitespace 12trailing more whitespace 13Label 214a line15 leading whitespace16 leading more whitespace17 18Label 319a line20 21Label 422a line23a random thing24 25Label 526Label 6627 28// CHECK-LABEL:Label 129// CHECK:a line30// CHECK:trailing whitespace31// CHECK:trailing more whitespace 32// ERROR-STRICT:error: {{C}}HECK: expected string not found in input33// ERROR-STRICT:// {{C}}HECK:trailing whitespace34 35// CHECK-LABEL:Label 236// CHECK:a line37// CHECK-NEXT:leading whitespace38// CHECK-NEXT: leading more whitespace39// ERROR-STRICT:error: {{C}}HECK-NEXT: expected string not found in input40// ERROR-STRICT:// {{C}}HECK-NEXT:leading whitespace41 42// CHECK-LABEL:Label 343// CHECK:line44// ERROR:error: {{C}}HECK: expected string not found in input45// ERROR:// {{C}}HECK:line46 47// CHECK-LABEL:Label 448// CHECK:a line49// CHECK-NOT:random50// ERROR:error: {{C}}HECK-NOT: excluded string found in input51// ERROR:a random thing52 53// CHECK-LABEL:Label 554// CHECK-LABEL:Label 655// ERROR:error: {{C}}HECK-LABEL: expected string not found in input56// ERROR:{{C}}HECK-LABEL:Label 657