aboutsummaryrefslogtreecommitdiffstats
path: root/travis/test
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2018-11-11 17:09:53 +0300
committerCyrill Gorcunov <gorcunov@gmail.com>2018-11-11 21:43:46 +0300
commit292d728974117586aab439cf98dfe67dc66919cc (patch)
treedb90853be6b6962854b66976ef5a2d7669b0b3e4 /travis/test
parent7c37fae21d27d43a5b9f6c2bcdcf70843d638713 (diff)
downloadnasm-292d728974117586aab439cf98dfe67dc66919cc.tar.gz
nasm-292d728974117586aab439cf98dfe67dc66919cc.tar.xz
nasm-292d728974117586aab439cf98dfe67dc66919cc.zip
test: nasm-t -- Add br3026808
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'travis/test')
-rw-r--r--travis/test/br3026808.asm18
-rw-r--r--travis/test/br3026808.bin.t0
-rw-r--r--travis/test/br3026808.json12
3 files changed, 30 insertions, 0 deletions
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
--- /dev/null
+++ b/travis/test/br3026808.bin.t
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" }
+ ]
+ }
+]