Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gcc.dg / c2x-floatn-7.c
blobbf9b1ffba75ad78e7a23925a49baad0aa7e9f4d0
1 /* { dg-do compile } */
2 /* { dg-options "-std=c2x -Wc11-c2x-compat" } */
3 /* { dg-add-options float16 } */
4 /* { dg-require-effective-target float16 } */
6 _Float16 a /* { dg-warning "ISO C does not support the '_Float16' type before C2X" } */
7 = 1.0F16; /* { dg-warning "non-standard suffix on floating constant before C2X" } */
8 __extension__ _Float16 b
9 = 2.0F16;