From e8832680f8b7a052bd77751d616d41a20d8bacb1 Mon Sep 17 00:00:00 2001 From: Eli Bendersky Date: Thu, 29 Nov 2012 21:24:44 +0000 Subject: 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 --- test/FileCheck/two-checks-for-same-match.txt | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/FileCheck/two-checks-for-same-match.txt (limited to 'test') 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 0000000000..2195aa96c5 --- /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 + -- cgit v1.2.3