llvm/test/MC/ELF/div-by-zero.s
Davide Italiano 125be70dbf [MC] Don't crash on division by zero.
Differential Revision:	http://reviews.llvm.org/D12776


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247471 91177308-0d34-0410-b5e6-96231b3b80d8
2015-09-11 20:47:35 +00:00

7 lines
216 B
ArmAsm

// Check that llvm-mc doesn't crash on division by zero.
// RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s 2> %t
// RUN: FileCheck -input-file %t %s
// CHECK: expected relocatable expression
.int 1/0