blob: fc7a0435eb70eea289030655fb0fbce1151bed60 [file] [log] [blame]
Rui Ueyamad9a84ef2013-08-12 23:05:59 +00001// RUN: FileCheck -check-prefix=ANOTHER-PREFIX -input-file %s %s
Alp Toker18a988e2013-10-29 02:35:28 +00002// RUN: not FileCheck -check-prefix=PREFIX -input-file %s %s 2>&1 | FileCheck -check-prefix=CHECK-NONEXISTENT-PREFIX %s
Rui Ueyamad9a84ef2013-08-12 23:05:59 +00003
4foobar
5; ANOTHER-PREFIX: foobar
6
7; We use regex to match the colon so that FileCheck won't think it is a check
8; prefix.
Alp Toker18a988e2013-10-29 02:35:28 +00009; CHECK-NONEXISTENT-PREFIX: error: no check strings found with prefix 'PREFIX{{:}}'