blob: d2219b7ca25777a3bd83f6948d122c66b4eed554 [file] [log] [blame]
Alexander Richardson46e1fd62017-11-07 13:24:44 +00001; 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
4Value = 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