mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-07-24 10:25:42 -04:00
test: nasm-t -- Add br3392528
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
3079f7966d
commit
69f77d5c34
5
travis/test/br3392528.asm
Normal file
5
travis/test/br3392528.asm
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
%macro huge_params 2222222222-222222222211
|
||||||
|
mov eax, eax
|
||||||
|
%endm
|
||||||
|
|
||||||
|
huge_params
|
13
travis/test/br3392528.json
Normal file
13
travis/test/br3392528.json
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"description": "Test the macro params count being integer",
|
||||||
|
"id": "br3392528",
|
||||||
|
"format": "bin",
|
||||||
|
"source": "br3392528.asm",
|
||||||
|
"option": "-Ox -o br3392528.bin",
|
||||||
|
"target": [
|
||||||
|
{ "stderr": "br3392528.stderr" }
|
||||||
|
],
|
||||||
|
"error": "expected"
|
||||||
|
}
|
||||||
|
]
|
2
travis/test/br3392528.stderr
Normal file
2
travis/test/br3392528.stderr
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
./travis/test/br3392528.asm:1: error: parameter count `2222222222' is out of bounds [0; 2147483647]
|
||||||
|
./travis/test/br3392528.asm:1: error: parameter count `222222222211' is out of bounds [0; 2147483647]
|
Loading…
x
Reference in New Issue
Block a user