summaryrefslogtreecommitdiff
path: root/assembler
diff options
context:
space:
mode:
authorHomer Hsing <homer.xing@intel.com>2012-09-20 14:06:06 +0800
committerDamien Lespiau <damien.lespiau@intel.com>2013-03-04 15:54:33 +0000
commitd6f02c181f9c25b60575bfe54d70fd5f58c6e5b4 (patch)
tree9e738aaa123d262ee4da4a6e1c4fcf0bd612e176 /assembler
parent2ab4c0d9b8b15e770ef6a6af4f60a2f5bf007c2b (diff)
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.
Diffstat (limited to 'assembler')
-rw-r--r--assembler/test/declare.g4a1
1 files changed, 1 insertions, 0 deletions
diff --git a/assembler/test/declare.g4a b/assembler/test/declare.g4a
index 726fe86c..d3414e49 100644
--- a/assembler/test/declare.g4a
+++ b/assembler/test/declare.g4a
@@ -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;