summaryrefslogtreecommitdiffstats
path: root/llvm/test/TableGen/ConstraintChecking3.td
blob: 835ec2e035f7dff21ffcd4c6a988c4b72f395d22 (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]]:1: error: Illegal format for tied-to constraint in 'Foo'
def Foo : TestInstructionWithConstraints<"$dest1=$dest2">;
OpenPOWER on IntegriCloud