New testcase

llvm-svn: 7525
This commit is contained in:
Chris Lattner 2003-08-03 18:28:09 +00:00
parent cabf643bf6
commit f701d26304
3 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,5 @@
// RUN: not tblgen %s
def {
bits<2> X = 5; // bitfield is too small, reject
}

View File

@ -0,0 +1,5 @@
// RUN: tblgen %s
def {
bit A = 1;
int B = A;
}

View File

@ -0,0 +1,10 @@
// RUN: tblgen %s
class A;
class B : A;
def b : B;
def {
list<B> X = [b];
list<A> Y = X;
}