Add a FileCheck test that makes sure two different CHECKs won't match the

same string

llvm-svn: 168942
This commit is contained in:
Eli Bendersky 2012-11-29 21:24:44 +00:00
parent 0584c727f2
commit 03bb500052
1 changed files with 8 additions and 0 deletions

View File

@ -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