Rafael Espindola | 73477b9 | 2013-07-03 16:41:29 +0000 | [diff] [blame] | 1 | ; RUN: not FileCheck -input-file %s %s 2>&1 | FileCheck -check-prefix DIAG %s |
Michael Liao | 0fc7137 | 2013-04-25 21:31:34 +0000 | [diff] [blame] | 2 | |
| 3 | CHECK-NOT: test |
| 4 | |
Joel E. Denny | 9074a87 | 2018-07-13 03:08:23 +0000 | [diff] [blame] | 5 | DIAG: error: CHECK-NOT: excluded string found in input |
| 6 | DIAG-NEXT: CHECK-NOT: test |
| 7 | DIAG-NEXT: {{^ \^}} |
| 8 | DIAG-NEXT: note: found here |
Michael Liao | 0fc7137 | 2013-04-25 21:31:34 +0000 | [diff] [blame] | 9 | DIAG-NEXT: CHECK-NOT: test |
| 10 | DIAG-NEXT: {{^ \^}} |