1 /* { dg-do compile } */
2 /* { dg-skip-if "-mpure-code supports M-profile without Neon only" { *-*-* } { "-mpure-code" } } */
3 /* { dg-require-effective-target arm_thumb2_ok } */
4 /* { dg-options "-O1 -mfp16-format=ieee -march=armv7-a -mfpu=neon -mthumb -mrestrict-it" } */
5
6 __fp16 h0 = -1.0;
7
8 void
9 f (__fp16 *p)
10 {
11 h0 = 1.0;
12 }