annotate llvm/test/TableGen/ConstraintChecking1.td @ 236:c4bab56944e8 llvm-original

LLVM 16
author kono
date Wed, 09 Nov 2022 17:45:10 +0900
parents 1d019706d866
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: not llvm-tblgen -gen-asm-writer -I %p -I %p/../../include %s 2>&1 | FileCheck %s -DFILE=%s
anatofuz
parents:
diff changeset
2
anatofuz
parents:
diff changeset
3 include "ConstraintChecking.inc"
anatofuz
parents:
diff changeset
4
236
c4bab56944e8 LLVM 16
kono
parents: 150
diff changeset
5 // CHECK: [[FILE]]:[[@LINE+1]]:5: error: Unrecognized constraint '$dest1 ~ $src2' in 'Foo'
150
anatofuz
parents:
diff changeset
6 def Foo : TestInstructionWithConstraints<"$dest1 ~ $src2">;