Davide Italiano | 63cee81 | 2015-09-11 20:47:35 +0000 | [diff] [blame] | 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 | ||||
Simon Pilgrim | 8831f6e | 2018-02-22 18:06:48 +0000 | [diff] [blame] | 7 | |
8 | // CHECK: expected relocatable expression | ||||
9 | .int 2%0 |