summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2016-03-03 17:05:20 -0800
committerH. Peter Anvin <hpa@zytor.com>2016-03-03 17:05:20 -0800
commita9a1b5c318e7bcb7680483c51933c6f3d6c69cd9 (patch)
tree829f057de8fdbbe896bca3313692d4ab669e1ad9
parentbd464749d1aa2e7b375ba430b2e755a52edbbef0 (diff)
downloadnasm-a9a1b5c318e7bcb7680483c51933c6f3d6c69cd9.tar.gz
test: add test for cv8 structure bug (BR 3392342 and 3392343)
Add test case for bugs 3392342 and 3392343. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--test/cv8struc.asm8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/cv8struc.asm b/test/cv8struc.asm
new file mode 100644
index 00000000..8d52cc30
--- /dev/null
+++ b/test/cv8struc.asm
@@ -0,0 +1,8 @@
+struc A_STRUC
+ ._a: resw 1
+endstruc
+
+a_struc:
+ istruc A_STRUC
+ at A_STRUC._a dw 1
+ iend