mirror of
https://github.com/yasm/yasm
synced 2026-08-26 22:26:05 -04:00
bytecode multiple. strucsize.asm tests both creation and instantiation of a nested structure. [1751] and [1752] fix bugs found during the testing of the instantiation portion of this testcase. A side effect of this change is that some errors are found in different phases, and the error messages are slightly different. Split reserve-error.asm testcase into two parts to still get full coverage. svn path=/trunk/yasm/; revision=1753
23 lines
182 B
NASM
23 lines
182 B
NASM
struc TST1
|
|
.a resd 2
|
|
endstruc
|
|
|
|
struc TST2
|
|
.b resb TST1_size
|
|
endstruc
|
|
|
|
tst2:
|
|
istruc TST2
|
|
at TST2.b
|
|
|
|
istruc TST1
|
|
|
|
at TST1.a
|
|
dd 1, 2
|
|
|
|
iend
|
|
|
|
iend
|
|
|
|
dw TST1_size
|
|
dw TST2_size
|