llvm.org GIT mirror llvm / release_50 test / FileCheck / same.txt
release_50

Tree @release_50 (Download .tar.gz)

same.txt @release_50raw · history · blame

foo bat bar
baz

RUN: FileCheck --input-file=%s --check-prefix=PASS1 %s
PASS1: foo
PASS1-SAME: bat
PASS1-SAME: bar
PASS1-NEXT: baz

RUN: FileCheck --input-file=%s --check-prefix=PASS2 %s
PASS2: foo
PASS2-NOT: baz
PASS2-SAME: bar
PASS2-NEXT: baz

RUN: not FileCheck --input-file=%s --check-prefix=FAIL1 %s
FAIL1: foo
FAIL1-SAME: baz

RUN: not FileCheck --input-file=%s --check-prefix=FAIL2 %s
FAIL2: foo
FAIL2-NOT: bat
FAIL2-SAME: bar