mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-05 02:49:18 +00:00
New testcase
llvm-svn: 7525
This commit is contained in:
parent
72a80806ae
commit
e16a7ab1d7
5
test/Regression/TableGen/BitsInitOverflow.td
Normal file
5
test/Regression/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/Regression/TableGen/IntBitInit.td
Normal file
5
test/Regression/TableGen/IntBitInit.td
Normal file
@ -0,0 +1,5 @@
|
||||
// RUN: tblgen %s
|
||||
def {
|
||||
bit A = 1;
|
||||
int B = A;
|
||||
}
|
10
test/Regression/TableGen/ListConversion.td
Normal file
10
test/Regression/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…
x
Reference in New Issue
Block a user