blob: 01d7ba5b36a45c17f9c18826abce578e269f2d2c [file] [log] [blame]
; Test for PR902. This program is erroneous, but should not crash llvm-as.
; This tests that a simple error is caught and processed correctly.
; RUN: not llvm-as < %s >/dev/null |& grep {floating point constant invalid for type}
define void @test() {
add i32 1, 2.0
ret void
}