summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/arm/fp16-compile-alt-1.c
blob: 3abcd947a6f3ae33a6a567e759012ee0f8cabb8e (plain)
1
2
3
4
5
6
7
8
/* { dg-do compile } */
/* { dg-options "-mfp16-format=alternative" } */

__fp16 xx = 0.0;

/* { dg-final { scan-assembler "\t.eabi_attribute 38, 2" } } */
/* { dg-final { scan-assembler "\t.size\txx, 2" } } */
/* { dg-final { scan-assembler "\t.space\t2" } } */