mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-02-17 17:19:35 +08:00
39 lines
841 B
JSON
39 lines
841 B
JSON
[
|
|
{
|
|
"description": "Test warns on immediate operands (-O0, warn)",
|
|
"id": "immwarn",
|
|
"format": "bin",
|
|
"source": "immwarn.asm",
|
|
"option": "-O0 -DOPT=1 -DWARN=1",
|
|
"target": [
|
|
{ "output": "immwarn.bin" },
|
|
{ "stderr": "immwarn.stderr" }
|
|
]
|
|
},
|
|
{
|
|
"description": "Test warns on immediate operands (-O0, nowarn)",
|
|
"ref": "immwarn",
|
|
"option": "-O0 -DOPT=1 -DWARN=0",
|
|
"target": [
|
|
{ "output": "immwarn-no.bin" }
|
|
]
|
|
},
|
|
{
|
|
"description": "Test warns on immediate operands (-Ox, warn)",
|
|
"ref": "immwarn",
|
|
"option": "-Ox -DOPT=1 -DWARN=1",
|
|
"target": [
|
|
{ "output": "immwarn-o.bin" },
|
|
{ "stderr": "immwarn-o.stderr" }
|
|
]
|
|
},
|
|
{
|
|
"description": "Test warns on immediate operands (-Ox, nowarn)",
|
|
"ref": "immwarn",
|
|
"option": "-Ox -DOPT=1 -DWARN=0",
|
|
"target": [
|
|
{ "output": "immwarn-ono.bin" }
|
|
]
|
|
}
|
|
]
|