blob: 30d103c57289a34c7ea5bf86a4096af226a7cca8 [file] [log] [blame]
Reid Spencer66e10ab2004-12-06 21:57:59 +00001; RUN: llvm-as %s -o /dev/null 2>&1 | grep "constant invalid for type"
Chris Lattner72f49aa2005-12-23 16:14:29 +00002; XFAIL: *
Chris Lattnere36ae662004-12-08 02:25:32 +00003
4;; This is a testcase for PR409
Reid Spencer66e10ab2004-12-06 21:57:59 +00005
6; make sure that 'float' values are in range
7
8%D1 = constant double 3.40282347e+39
9%D2 = constant double -3.40282347e+39
10%F1 = constant float 3.40282346e+38
11%F2 = constant float -3.40282346e+38
12%D1 = constant float 3.40282347e+39
13%D2 = constant float -3.40282347e+39