summaryrefslogtreecommitdiff
path: root/test/far64.asm
diff options
context:
space:
mode:
Diffstat (limited to 'test/far64.asm')
-rw-r--r--test/far64.asm10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/far64.asm b/test/far64.asm
new file mode 100644
index 00000000..b7a5108e
--- /dev/null
+++ b/test/far64.asm
@@ -0,0 +1,10 @@
+;Testname=test; Arguments=-fbin -ofar64.bin; Files=.stdout .stderr far64.bin
+; BR 2039212
+ bits 64
+
+ call qword far [rax]
+ jmp qword far [rax]
+ call dword far [rax]
+ jmp dword far [rax]
+ call far [rax]
+ jmp far [rax]