[llvm-commits] [llvm] r168942 - /llvm/trunk/test/FileCheck/two-checks-for-same-match.txt

Eli Bendersky eliben at google.com
Thu Nov 29 13:24:44 PST 2012


Author: eliben
Date: Thu Nov 29 15:24:44 2012
New Revision: 168942

URL: http://llvm.org/viewvc/llvm-project?rev=168942&view=rev
Log:
Add a FileCheck test that makes sure two different CHECKs won't match the
same string

Added:
    llvm/trunk/test/FileCheck/two-checks-for-same-match.txt

Added: llvm/trunk/test/FileCheck/two-checks-for-same-match.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FileCheck/two-checks-for-same-match.txt?rev=168942&view=auto
==============================================================================
--- llvm/trunk/test/FileCheck/two-checks-for-same-match.txt (added)
+++ llvm/trunk/test/FileCheck/two-checks-for-same-match.txt Thu Nov 29 15:24:44 2012
@@ -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
+





More information about the llvm-commits mailing list