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

float xx __attribute__((mode(HF))) = 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" } } */