diff options
Diffstat (limited to 'llvm/test/TableGen/unsetop.td')
-rw-r--r-- | llvm/test/TableGen/unsetop.td | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/TableGen/unsetop.td b/llvm/test/TableGen/unsetop.td index 7a4f98a..54ede19 100644 --- a/llvm/test/TableGen/unsetop.td +++ b/llvm/test/TableGen/unsetop.td @@ -16,6 +16,12 @@ def test { dag undefSecond = !con((op 1), (? 2)); // CHECK: dag undefBoth = (? 1, 2); dag undefBoth = !con((? 1), (? 2)); + // CHECK: dag namedLHS = (op:$lhs 1, 2); + dag namedLHS = !con((op:$lhs 1), (op 2)); + // CHECK: dag namedRHS = (op:$rhs 1, 2); + dag namedRHS = !con((op 1), (op:$rhs 2)); + // CHECK: dag namedBoth = (op:$lhs 1, 2); + dag namedBoth = !con((op:$lhs 1), (op:$rhs 2)); #ifdef ERROR // ERROR: Concatenated Dag operators do not match: '(op 1)' vs. '(otherop 2)' |