parent
cabf643bf6
commit
f701d26304
|
@ -0,0 +1,5 @@
|
|||
// RUN: not tblgen %s
|
||||
|
||||
def {
|
||||
bits<2> X = 5; // bitfield is too small, reject
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
// RUN: tblgen %s
|
||||
def {
|
||||
bit A = 1;
|
||||
int B = A;
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
// RUN: tblgen %s
|
||||
class A;
|
||||
class B : A;
|
||||
|
||||
def b : B;
|
||||
|
||||
def {
|
||||
list<B> X = [b];
|
||||
list<A> Y = X;
|
||||
}
|
Loading…
Reference in New Issue