Reid Spencer | 66e10ab | 2004-12-06 21:57:59 +0000 | [diff] [blame] | 1 | ; RUN: llvm-as %s -o /dev/null 2>&1 | grep "constant invalid for type" |
Chris Lattner | 72f49aa | 2005-12-23 16:14:29 +0000 | [diff] [blame] | 2 | ; XFAIL: * |
Chris Lattner | e36ae66 | 2004-12-08 02:25:32 +0000 | [diff] [blame] | 3 | |
| 4 | ;; This is a testcase for PR409 |
Reid Spencer | 66e10ab | 2004-12-06 21:57:59 +0000 | [diff] [blame] | 5 | |
| 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 |