diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-09-18 20:51:39 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-09-18 20:51:39 +0000 |
commit | 30ce40e3f77d1432903c24caf816c54bb260d833 (patch) | |
tree | 435be6dd1a2086e0f4c70c69138da4a31cdfa149 /test/Other/FileCheck-space.txt | |
parent | 51ca6019771be02d9255f9df06d22a76cbcf4aad (diff) | |
download | external_llvm-30ce40e3f77d1432903c24caf816c54bb260d833.zip external_llvm-30ce40e3f77d1432903c24caf816c54bb260d833.tar.gz external_llvm-30ce40e3f77d1432903c24caf816c54bb260d833.tar.bz2 |
FileCheck: Fix off-by-one bug that made CHECK-NOT: ignore the next character after the colon.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164165 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Other/FileCheck-space.txt')
-rw-r--r-- | test/Other/FileCheck-space.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Other/FileCheck-space.txt b/test/Other/FileCheck-space.txt new file mode 100644 index 0000000..6bbe5bc --- /dev/null +++ b/test/Other/FileCheck-space.txt @@ -0,0 +1,9 @@ +RUN: printf "a\nb" | FileCheck %s -check-prefix=TEST1 +RUN: echo oo | FileCheck %s -check-prefix=TEST2 + +Check that CHECK-NEXT without a space after the colon works. +TEST1:a +TEST1-NEXT:b + +Check that CHECK-NOT without a space after the colon works. +TEST2-NOT:foo |