summaryrefslogtreecommitdiff
path: root/gas/testsuite/gasp/mri/exists.out
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gasp/mri/exists.out')
-rw-r--r--gas/testsuite/gasp/mri/exists.out24
1 files changed, 24 insertions, 0 deletions
diff --git a/gas/testsuite/gasp/mri/exists.out b/gas/testsuite/gasp/mri/exists.out
new file mode 100644
index 00000000000..e75337d5118
--- /dev/null
+++ b/gas/testsuite/gasp/mri/exists.out
@@ -0,0 +1,24 @@
+;exists macro arg1,arg2
+; ifne ==arg2
+; move arg1,arg2
+; elsec
+; push arg1
+; endc
+; endm
+;
+
+; exists foo,bar
+; ifne -1
+; move foo,bar
+ move foo,bar
+; elsec
+; push foo
+; endc
+; exists foo
+; ifne 0
+; move foo,
+; elsec
+; push foo
+ push foo
+; endc
+; \ No newline at end of file