11 lines · plain
1; Test for PR902. This program is erroneous, but should not crash llvm-as.2; This tests that a simple error is caught and processed correctly.3; RUN: not llvm-as -disable-output %s 2>&1 | FileCheck %s4 5; CHECK: floating point constant invalid for type6 7define void @test() {8 add i32 1, 2.09 ret void10}11