Mercurial > hg > CbC > CbC_llvm
annotate llvm/test/TableGen/MultiClass-def-fail.td @ 207:2e18cbf3894f
LLVM12
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 08 Jun 2021 06:07:14 +0900 |
parents | 1d019706d866 |
children |
rev | line source |
---|---|
150 | 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; |