1 /* { dg-do compile } */
2 /* { dg-options "-mfp16-format=ieee -pedantic" } */
4 /* Encoding taken from: http://en.wikipedia.org/wiki/Half_precision */
5 /* This number is too big and is represented as infinity. */
6 /* We should *not* get an overflow warning here. */
8 __fp16 xx
= 123456789.0;
10 /* { dg-final { scan-assembler "\t.size\txx, 2" } } */
11 /* { dg-final { scan-assembler "\t.short\t31744" } } */