mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-03-31 18:20:22 +08:00
test: add test for subsections via symbols
Add a test for subsections via symbols. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
This commit is contained in:
parent
892c4818ce
commit
8413e8167a
@ -5,13 +5,13 @@
|
||||
;
|
||||
|
||||
%pragma output subsections_via_symbols
|
||||
|
||||
|
||||
bits 32
|
||||
|
||||
global foo, bar, quux
|
||||
|
||||
%define baz Lbaz
|
||||
|
||||
|
||||
foo:
|
||||
jmp foo
|
||||
jmp bar
|
||||
@ -35,5 +35,3 @@ quux:
|
||||
jmp bar
|
||||
jmp baz
|
||||
jmp quux
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user