summaryrefslogtreecommitdiff
path: root/llvm/test/TableGen/ConstraintChecking3.td
blob: 2d5fe6b7ef9699e32d2c2a3df299d758903abaf9 (plain)
1
2
3
4
5
6
7
8
// RUN: not llvm-tblgen -gen-asm-writer -I %p -I %p/../../include %s 2>&1 | FileCheck %s -DFILE=%s

include "ConstraintChecking.inc"

// (This is illegal because the '=' has to be surrounded by whitespace)

// CHECK: [[FILE]]:[[@LINE+1]]:5: error: Illegal format for tied-to constraint in 'Foo'
def Foo : TestInstructionWithConstraints<"$dest1=$dest2">;