Add test case for ".declare" overriding feature.

Later same name .declare pragma will override previously defined
one. This patch add a test case for that feature.
This commit is contained in:
Homer Hsing 2012-09-20 14:06:06 +08:00 committed by Damien Lespiau
parent 2ab4c0d9b8
commit d6f02c181f

View File

@ -1,3 +1,4 @@
.declare X1 Base=g99.0 ElementSize=1 SrcRegion=<8,8,1> DstRegion=<1> Type=F
.declare X1 Base=g123.4 ElementSize=4 SrcRegion=<8,8,1> DstRegion=<1> Type=F
add g0<1>:f X1 1.23:f;
add g0<1>:f X1 g1<8,8,1>:f;