xref: /llvm-project/llvm/test/TableGen/defset-typeerror.td (revision fcd6525a4516f0a4d83fd8dcaee25c81ac2c14cd)
1// RUN: not llvm-tblgen %s 2>&1 | FileCheck %s
2// XFAIL: vg_leak
3
4// CHECK: error: adding record of incompatible type 'A' to defset
5
6class A<int a> {
7  int Num = a;
8}
9
10class B<int a> : A<a>;
11
12defset list<B> Bs = {
13  def A0 : A<1>;
14}
15