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 +