xref: /aosp_15_r20/external/llvm/test/MC/ELF/div-by-zero.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker// Check that llvm-mc doesn't crash on division by zero.
2*9880d681SAndroid Build Coastguard Worker// RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s 2> %t
3*9880d681SAndroid Build Coastguard Worker// RUN: FileCheck -input-file %t %s
4*9880d681SAndroid Build Coastguard Worker
5*9880d681SAndroid Build Coastguard Worker// CHECK: expected relocatable expression
6*9880d681SAndroid Build Coastguard Worker.int 1/0
7