aboutsummaryrefslogtreecommitdiff
path: root/modules/arch/x86/tests/segoff-err.asm
diff options
context:
space:
mode:
Diffstat (limited to 'modules/arch/x86/tests/segoff-err.asm')
-rw-r--r--modules/arch/x86/tests/segoff-err.asm6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/arch/x86/tests/segoff-err.asm b/modules/arch/x86/tests/segoff-err.asm
new file mode 100644
index 0000000..ac76927
--- /dev/null
+++ b/modules/arch/x86/tests/segoff-err.asm
@@ -0,0 +1,6 @@
+; all of these should be illegal
+
+jmp far[1:2]
+mov ax,[1:2]
+push dword [1:2]
+mov ax,1:2