blob: 1f67c9cd65045feb2418a947c222ccde64fe9072 [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.
Reid Spencerd7c2c2f2006-12-02 20:34:08 +00003; RUN: llvm-upgrade < %s | llvm-as 2>&1 | grep 'FP constant invalid for type'
Reid Spencer8a4d4302006-09-28 21:20:05 +00004void %test() {
5 add int 1, 2.0
6 ret void
7}