New testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7525 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-08-03 18:28:09 +00:00
parent d19c2cf5d2
commit a6aff650e8
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;
}