mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 21:32:10 +00:00
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7525 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d19c2cf5d2
commit
a6aff650e8
5
test/TableGen/BitsInitOverflow.td
Normal file
5
test/TableGen/BitsInitOverflow.td
Normal file
@ -0,0 +1,5 @@
|
||||
// RUN: not tblgen %s
|
||||
|
||||
def {
|
||||
bits<2> X = 5; // bitfield is too small, reject
|
||||
}
|
5
test/TableGen/IntBitInit.td
Normal file
5
test/TableGen/IntBitInit.td
Normal file
@ -0,0 +1,5 @@
|
||||
// RUN: tblgen %s
|
||||
def {
|
||||
bit A = 1;
|
||||
int B = A;
|
||||
}
|
10
test/TableGen/ListConversion.td
Normal file
10
test/TableGen/ListConversion.td
Normal 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user