diff options
author | Eli Bendersky <eliben@google.com> | 2012-11-29 21:24:44 +0000 |
---|---|---|
committer | Eli Bendersky <eliben@google.com> | 2012-11-29 21:24:44 +0000 |
commit | 03bb50005243e1ff56b4cb1ef98af59a738d0c33 (patch) | |
tree | 9f5df95fba0ed69c94c575bae8760db25f26ceef /llvm | |
parent | 0584c727f2d385ad36ef6b49158058d1d3728848 (diff) | |
download | bcm5719-llvm-03bb50005243e1ff56b4cb1ef98af59a738d0c33.tar.gz bcm5719-llvm-03bb50005243e1ff56b4cb1ef98af59a738d0c33.zip |
Add a FileCheck test that makes sure two different CHECKs won't match the
same string
llvm-svn: 168942
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/test/FileCheck/two-checks-for-same-match.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/FileCheck/two-checks-for-same-match.txt b/llvm/test/FileCheck/two-checks-for-same-match.txt new file mode 100644 index 00000000000..2195aa96c54 --- /dev/null +++ b/llvm/test/FileCheck/two-checks-for-same-match.txt @@ -0,0 +1,8 @@ +// Check that two distinct CHECK lines won't match the same string +// RUN: not FileCheck -input-file %s %s + +; CHECK: {{a[0-9]b}} +; CHECK: {{a[0-9]b}} + +a2b + |