| Alexander Richardson | 46e1fd6 | 2017-11-07 13:24:44 +0000 | [diff] [blame^] | 1 | ; RUN: FileCheck -DVALUE=10 -input-file %s %s |
| 2 | ; RUN: not FileCheck -DVALUE=20 -input-file %s %s 2>&1 | FileCheck %s -check-prefix ERRMSG | ||||
| 3 | |||||
| 4 | Value = 10 | ||||
| 5 | ; CHECK: Value = [[VALUE]] | ||||
| 6 | |||||
| 7 | ; ERRMSG: defines.txt:5:10: error: expected string not found in input | ||||
| 8 | ; ERRMSG: defines.txt:1:1: note: with variable "VALUE" equal to "20" | ||||
| 9 | ; ERRMSG: defines.txt:4:1: note: possible intended match here | ||||