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
[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git]
/
test
/
TableGen
/
defset-typeerror.td
blob
cdc7833fa3a4a36a716265816606f181e34f7e5f
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
6
class A<int a> {
7
int Num = a;
8
}
9
10
class B<int a> : A<a>;
11
12
defset list<B> Bs = {
13
def A0 : A<1>;
14
}