1/* { dg-do compile { target arm*-*-* } } */
2/* { dg-options "-mfp16-format=ieee" } */
3
4/* __fp16 values are autoconverted to float and should therefore be treated
5 * just like float for overloading purposes.  */
6
7extern int frobnify (float x);
8extern int frobnify (double x);
9
10int g (void)
11{
12  return frobnify ((__fp16)1.0);
13}
14
15/* { dg-final { scan-assembler "_Z8frobnifyf" } } */
16/* { dg-final { scan-assembler-not " _Z8frobnifyd" } } */
17