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

include "ConstraintChecking.inc"

// CHECK: [[FILE]]:[[@LINE+1]]:5: error: Unrecognized constraint '$dest1 ~ $src2' in 'Foo'
def Foo : TestInstructionWithConstraints<"$dest1 ~ $src2">;