blob: 3770add1927e10f813dbcea270a28345404fe4d5 [file] [log] [blame]
Reid Spencer8a4d4302006-09-28 21:20:05 +00001; 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-as < %s) 2>&1 | grep 'FP constant invalid for type'
4void %test() {
5 add int 1, 2.0
6 ret void
7}