1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 05:23:45 +02:00
llvm-mirror/test/MC/ELF/div-by-zero.s

7 lines
216 B
ArmAsm
Raw Normal View History

// 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