1 // Test for referencing a variable defined on the same line
2 // RUN: FileCheck -input-file %s %s
6 ; CHECK: op1 [[REG:r[0-9]+]], {{r[0-9]+}}, [[REG]]
10 ; CHECK: op3 [[REG1:r[0-9]+]], [[REG2:r[0-9]+]], [[REG1]], [[REG2]]
14 ; Test that parens inside the regex don't confuse FileCheck
15 ; CHECK: {{([a-z]+[0-9])+}} [[REG:g[0-9]+]], {{g[0-9]+}}, [[REG]]