summaryrefslogtreecommitdiff
path: root/gas/testsuite/gasp/mri/exists.asm
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gasp/mri/exists.asm')
-rw-r--r--gas/testsuite/gasp/mri/exists.asm10
1 files changed, 10 insertions, 0 deletions
diff --git a/gas/testsuite/gasp/mri/exists.asm b/gas/testsuite/gasp/mri/exists.asm
new file mode 100644
index 0000000000..87220c624e
--- /dev/null
+++ b/gas/testsuite/gasp/mri/exists.asm
@@ -0,0 +1,10 @@
+exists macro arg1,arg2
+ ifne ==arg2
+ move arg1,arg2
+ elsec
+ push arg1
+ endc
+ endm
+
+ exists foo,bar
+ exists foo