diff --git a/travis/test/br3026808.asm b/travis/test/br3026808.asm new file mode 100644 index 00000000..5c61c953 --- /dev/null +++ b/travis/test/br3026808.asm @@ -0,0 +1,18 @@ +%imacro proc 1 + %push proc + %assign %$arg 1 +%endmacro + +%imacro arg 0-1 1 + %assign %$arg %1+%$arg +%endmacro + +%imacro endproc 0 + %pop +%endmacro + +;---------------------------- + +proc Test + %$ARG arg +endproc diff --git a/travis/test/br3026808.bin.t b/travis/test/br3026808.bin.t new file mode 100644 index 00000000..e69de29b diff --git a/travis/test/br3026808.json b/travis/test/br3026808.json new file mode 100644 index 00000000..5067517d --- /dev/null +++ b/travis/test/br3026808.json @@ -0,0 +1,12 @@ +[ + { + "description": "Test push and pop directives", + "id": "br3026808", + "format": "bin", + "source": "br3026808.asm", + "option": "-Ox", + "target": [ + { "output": "br3026808.bin" } + ] + } +]