blob: d39663e2dbad5f762cac4fab146319684ff75c8e [file] [log] [blame]
; RUN: FileCheck -input-file %s %s
; RUN: not FileCheck -check-prefix BAD -input-file %s %s
3
4 aaa
5 bbb
6 ccc
7 CHECK: [[@LINE-3]] {{a}}aa
8 CHECK: [[@LINE-3]] {{b}}bb
9 CHECK: [[@LINE-3]] {{c}}cc
10 foobar
11 CHECK: [[@LINE-1]] {{foo}}bar
12
13 arst CHECK: [[@LINE]] {{a}}rst
14
15 BAD: [[@LINE:cant-have-regex]]