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