Use llvm-upgrade these tests as they all use old assembly.
[oota-llvm.git] / test / Assembler / 2006-09-28-CrashOnInvalid.ll
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: llvm-upgrade < %s | llvm-as 2>&1 | grep 'FP constant invalid for type'
4 void %test() {
5   add int 1, 2.0
6   ret void
7 }