1// RUN: not FileCheck -match-full-lines -input-file %s %s 2>&1 \ 2// RUN: | FileCheck --check-prefix=ERROR --implicit-check-not=error: %s 3// RUN: not FileCheck -match-full-lines -strict-whitespace -input-file %s %s 2>&1 \ 4// RUN: | FileCheck --check-prefix=ERROR-STRICT --check-prefix=ERROR --implicit-check-not=error: %s 5 6Label 1 7a line 8trailing whitespace 9trailing more whitespace 10Label 2 11a line 12 leading whitespace 13 leading more whitespace 14 15Label 3 16a line 17 18Label 4 19a line 20a random thing 21 22Label 5 23Label 66 24 25// CHECK-LABEL:Label 1 26// CHECK:a line 27// CHECK:trailing whitespace 28// CHECK:trailing more whitespace 29// ERROR-STRICT:error: {{C}}HECK: expected string not found in input 30// ERROR-STRICT:// {{C}}HECK:trailing whitespace 31 32// CHECK-LABEL:Label 2 33// CHECK:a line 34// CHECK-NEXT:leading whitespace 35// CHECK-NEXT: leading more whitespace 36// ERROR-STRICT:error: {{C}}HECK-NEXT: expected string not found in input 37// ERROR-STRICT:// {{C}}HECK-NEXT:leading whitespace 38 39// CHECK-LABEL:Label 3 40// CHECK:line 41// ERROR:error: {{C}}HECK: expected string not found in input 42// ERROR:// {{C}}HECK:line 43 44// CHECK-LABEL:Label 4 45// CHECK:a line 46// CHECK-NOT:random 47// ERROR:error: {{C}}HECK-NOT: excluded string found in input 48// ERROR:a random thing 49 50// CHECK-LABEL:Label 5 51// CHECK-LABEL:Label 6 52// ERROR:error: {{C}}HECK-LABEL: expected string not found in input 53// ERROR:{{C}}HECK-LABEL:Label 6 54