summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChang S. Bae <chang.seok.bae@intel.com>2020-04-22 00:07:58 +0000
committerChang S. Bae <chang.seok.bae@intel.com>2020-04-22 00:08:28 +0000
commitee8edad40bbc7687752f7987c63b5d9087cf9151 (patch)
tree3e7eb084c8508da89717cd848b79f24e0b735f87
parent74b2731f2cef0f1ec8c0c6e6e3dee9492b851e8c (diff)
downloadnasm-ee8edad40bbc7687752f7987c63b5d9087cf9151.tar.gz
test: Add BR3392661
Suggested-by: <mae.bdf@outlook.com> Link: https://bugzilla.nasm.us/show_bug.cgi?id=3392661 Signed-off-by: Chang S. Bae <chang.seok.bae@intel.com>
-rw-r--r--test/br3392661.asm8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/br3392661.asm b/test/br3392661.asm
new file mode 100644
index 00000000..9a349d19
--- /dev/null
+++ b/test/br3392661.asm
@@ -0,0 +1,8 @@
+section .text
+
+global _start
+
+_start:
+ mov rdi, 0 ; Exit status
+ mov rax, 60 ; Exit syscall number
+ syscall