Home | History | Annotate | Download | only in FileCheck
      1 ; RUN: not FileCheck -input-file %s %s -check-prefix=FOO -check-prefix=BAR 2>&1 | FileCheck %s
      2 ; RUN: not FileCheck -input-file %s %s -check-prefixes=FOO,BAR 2>&1 | FileCheck %s
      3 ; RUN: not FileCheck -input-file %s %s -check-prefixes=BAR,FOO 2>&1 | FileCheck %s
      4 
      5 fog
      6 bar
      7 ; _FOO not a valid check-line
      8 ; FOO: fo{{o}}
      9 ; BAR: ba{{r}}
     10 
     11 ; CHECK: {{error: expected string not found in input}}
     12 ; CHECK-NEXT: {{F}}OO: fo{{[{][{]o[}][}]}}
     13