Home | History | Annotate | Download | only in FileCheck
      1 ; RUN: not FileCheck -check-prefix=DAGNOT -input-file %s %s 2>&1 | FileCheck -check-prefix=ERROR -check-prefix=DAGNOT-ERROR %s
      2 ; RUN: not FileCheck -check-prefix=NOTDAG -input-file %s %s 2>&1 | FileCheck -check-prefix=ERROR -check-prefix=NOTDAG-ERROR %s
      3 ; RUN: not FileCheck -check-prefix=NEXTNOT -input-file %s %s 2>&1 | FileCheck -check-prefix=ERROR -check-prefix=NEXTNOT-ERROR %s
      4 ; RUN: not FileCheck -check-prefix=NOTNEXT -input-file %s %s 2>&1 | FileCheck -check-prefix=ERROR -check-prefix=NOTNEXT-ERROR %s
      5 ; RUN: not FileCheck -check-prefix=SAMENOT -input-file %s %s 2>&1 | FileCheck -check-prefix=ERROR -check-prefix=SAMENOT-ERROR %s
      6 ; RUN: not FileCheck -check-prefix=NOTSAME -input-file %s %s 2>&1 | FileCheck -check-prefix=ERROR -check-prefix=NOTSAME-ERROR %s
      7 
      8 foo
      9 ; DAGNOT: foo
     10 ; DAGNOT-DAG-NOT: bar
     11 ; NOTDAG: foo
     12 ; NOTDAG-NOT-DAG: bar
     13 ; NEXTNOT: foo
     14 ; NEXTNOT-NEXT-NOT: bar
     15 ; NOTNEXT: foo
     16 ; NOTNEXT-NOT-NEXT: bar
     17 ; SAMENOT: foo
     18 ; SAMENOT-SAME-NOT: bar
     19 ; NOTSAME: foo
     20 ; NOTSAME-NOT-SAME: bar
     21 
     22 ; ERROR: error: unsupported -NOT combo on prefix
     23 ; DAGNOT-ERROR-SAME:  'DAGNOT'
     24 ; NOTDAG-ERROR-SAME:  'NOTDAG'
     25 ; NEXTNOT-ERROR-SAME: 'NEXTNOT'
     26 ; NOTNEXT-ERROR-SAME: 'NOTNEXT'
     27 ; SAMENOT-ERROR-SAME: 'SAMENOT'
     28 ; NOTSAME-ERROR-SAME: 'NOTSAME'
     29