From: Eli Bendersky Date: Thu, 29 Nov 2012 21:24:44 +0000 (+0000) Subject: Add a FileCheck test that makes sure two different CHECKs won't match the X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e8832680f8b7a052bd77751d616d41a20d8bacb1;p=oota-llvm.git Add a FileCheck test that makes sure two different CHECKs won't match the same string git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168942 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/FileCheck/two-checks-for-same-match.txt b/test/FileCheck/two-checks-for-same-match.txt new file mode 100644 index 00000000000..2195aa96c54 --- /dev/null +++ b/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 +