repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git]
/
test
/
TableGen
/
MultiClass-def-fail.td
blob
ed37e5cd71cbec9a83581e9587509eba065c041e
1
// RUN: not llvm-tblgen %s 2>&1 | FileCheck %s
2
// XFAIL: vg_leak
3
4
// This test checks that using def instead of defm gives a meaningful error
5
multiclass M2 {
6
def X;
7
}
8
9
// CHECK: error: Couldn't find class 'M2'. Use 'defm' if you meant to use multiclass 'M2'
10
def rec1 : M2;