aboutsummaryrefslogtreecommitdiffstats
path: root/travis/test/br3392711.asm
diff options
context:
space:
mode:
Diffstat (limited to 'travis/test/br3392711.asm')
-rw-r--r--travis/test/br3392711.asm18
1 files changed, 18 insertions, 0 deletions
diff --git a/travis/test/br3392711.asm b/travis/test/br3392711.asm
new file mode 100644
index 00000000..435fc5f6
--- /dev/null
+++ b/travis/test/br3392711.asm
@@ -0,0 +1,18 @@
+;
+; In br33927711 we've not been expanding %?? and %*?? correctly
+;
+ section .text
+
+%define label(prefix, suffix) prefix %+ suffix
+
+label_1:
+ mov eax, label(%??, _1)
+label_2:
+ mov eax, label(%?, _2)
+
+%define label0123456789a0123456789a0123456789a0123456789a0123456789a0123456789a0123456789(prefix, suffix) prefix %+ suffix
+
+label0123456789a0123456789a0123456789a0123456789a0123456789a0123456789a0123456789_1:
+ mov eax, label0123456789a0123456789a0123456789a0123456789a0123456789a0123456789a0123456789(%??, _1)
+label0123456789a0123456789a0123456789a0123456789a0123456789a0123456789a0123456789_2:
+ mov eax, label0123456789a0123456789a0123456789a0123456789a0123456789a0123456789a0123456789(%??, _2)