Sign in
swiftshader
/
SwiftShader
/
e2ecf37519d2d8751e83e9ffd69d0cffa70056f3
/
.
/
third_party
/
llvm-7.0
/
llvm
/
test
/
TableGen
/
defset-typeerror.td
blob: cdc7833fa3a4a36a716265816606f181e34f7e5f [
file
] [
log
] [
blame
]
// RUN: not llvm-tblgen %s 2>&1 | FileCheck %s
// XFAIL: vg_leak
// CHECK: error: adding record of incompatible type 'A' to defset
class
A
<
int
a
>
{
int
Num
=
a
;
}
class
B
<
int
a
>
:
A
<a>
;
defset list
<
B
>
Bs
=
{
def
A0
:
A
<
1
>;
}