blob: de2d13e1f81aa212e477ab5ddb632757f35afea7 [file] [log] [blame]
Rafael Espindola73477b92013-07-03 16:41:29 +00001; RUN: not FileCheck -input-file %s %s 2>&1 | FileCheck -check-prefix DIAG %s
Michael Liao0fc71372013-04-25 21:31:34 +00002
3CHECK-NOT: test
4
Joel E. Denny9074a872018-07-13 03:08:23 +00005DIAG: error: CHECK-NOT: excluded string found in input
6DIAG-NEXT: CHECK-NOT: test
7DIAG-NEXT: {{^ \^}}
8DIAG-NEXT: note: found here
Michael Liao0fc71372013-04-25 21:31:34 +00009DIAG-NEXT: CHECK-NOT: test
10DIAG-NEXT: {{^ \^}}