mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-03-25 18:10:23 +08:00
test: nasm-t -- Add br2222615
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
c51934e40f
commit
6ad457d6f8
16
travis/test/br2222615.asm
Normal file
16
travis/test/br2222615.asm
Normal file
@ -0,0 +1,16 @@
|
||||
%macro bluttan 0
|
||||
nop
|
||||
%endmacro
|
||||
|
||||
%ifnmacro bluttan
|
||||
%error "bluttan is a macro"
|
||||
%endif
|
||||
|
||||
%ifmacro blej
|
||||
%error "blej is not a macro"
|
||||
%endif
|
||||
|
||||
%ifdef ERROR
|
||||
%ifnmacro
|
||||
%endif
|
||||
%endif
|
0
travis/test/br2222615.bin.t
Normal file
0
travis/test/br2222615.bin.t
Normal file
21
travis/test/br2222615.json
Normal file
21
travis/test/br2222615.json
Normal file
@ -0,0 +1,21 @@
|
||||
[
|
||||
{
|
||||
"description": "Test br2222615 (noerr)",
|
||||
"id": "br2222615",
|
||||
"format": "bin",
|
||||
"source": "br2222615.asm",
|
||||
"option": "",
|
||||
"target": [
|
||||
{ "output": "br2222615.bin" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Test br2222615 (err)",
|
||||
"ref": "br2222615",
|
||||
"option": "-DERROR -o br2222615.bin",
|
||||
"target": [
|
||||
{ "stderr": "br2222615.stderr" }
|
||||
],
|
||||
"error": "expected"
|
||||
}
|
||||
]
|
1
travis/test/br2222615.stderr
Normal file
1
travis/test/br2222615.stderr
Normal file
@ -0,0 +1 @@
|
||||
./travis/test/br2222615.asm:14: error: `%ifnmacro' expects a macro name
|
Loading…
x
Reference in New Issue
Block a user