0
0
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:
Cyrill Gorcunov 2018-11-14 10:20:50 +03:00
parent 3079f7966d
commit 69f77d5c34
3 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,5 @@
%macro huge_params 2222222222-222222222211
mov eax, eax
%endm
huge_params

View 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"
}
]

View 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]