Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/ext/arm-fp16/fp16-param-1.C @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* { dg-do compile { target arm*-*-* } } */ /* { dg-options "-mfp16-format=ieee" } */ /* Test that the ACLE macro is defined. */ #if __ARM_FP16_ARGS != 1 #error Unexpected value for __ARM_FP16_ARGS #endif /* Test that __fp16 is supported as a parameter type. */ extern void f (__fp16); extern void (*pf) (__fp16); extern void g (__fp16 *); extern void (*pg) (__fp16 *);