brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.0 KiB · 311dfc7 Raw
55 lines · plain
1; RUN: FileCheck -input-file %s %s -check-prefix=CHECKOK2;3; RUN: %ProtectFileCheckOutput \4; RUN: not FileCheck -input-file %s %s -check-prefix=CHECKFAIL 2>&1 \5; RUN: | FileCheck %s -check-prefix=CHECKERROR6 7label0:8a9b10 11label1:12b13c14 15label2:16a17c18 19; CHECKOK-LABEL: {{^}}label0:20; CHECKOK: {{^}}a21; CHECKOK: {{^}}b22 23; CHECKOK-LABEL: {{^}}label1:24; CHECKOK: {{^}}b25; CHECKOK: {{^}}c26 27; CHECKOK-LABEL: {{^}}label2:28; CHECKOK: {{^}}a29; CHECKOK: {{^}}c30 31; CHECKFAIL-LABEL: {{^}}label0:32; CHECKFAIL: {{^}}a33; CHECKFAIL: {{^}}b34; CHECKFAIL: {{^}}c35 36; CHECKERROR: expected string not found in input37; CHECKERROR-NEXT: CHECKFAIL: {{[{][{]\^[}][}]}}c38 39; CHECKFAIL-LABEL: {{^}}label1:40; CHECKFAIL: {{^}}a41; CHECKFAIL: {{^}}b42; CHECKFAIL: {{^}}c43 44; CHECKERROR: expected string not found in input45; CHECKERROR-NEXT: CHECKFAIL: {{[{][{]\^[}][}]}}a46 47; CHECKFAIL-LABEL: {{^}}label2:48; CHECKFAIL: {{^}}a49; CHECKFAIL: {{^}}b50; CHECKFAIL: {{^}}c51 52; CHECKERROR: expected string not found in input53; CHECKERROR-NEXT: CHECKFAIL: {{[{][{]\^[}][}]}}b54 55