1/* { dg-do compile { target arm*-*-* } } */
2/* { dg-options "-mfp16-format=ieee" } */
3
4/* Test mangling */
5
6/* { dg-final { scan-assembler "\t.global\t_Z1fPDh" } } */
7void f (__fp16 *x) { }
8
9/* { dg-final { scan-assembler "\t.global\t_Z1gPDhS_" } } */
10void g (__fp16 *x, __fp16 *y) { }
11
12/* { dg-final { scan-assembler "\t.global\t_ZN1SIDhDhE1iE" } } */
13template <typename T, typename U> struct S { static int i; };
14template <> int S<__fp16, __fp16>::i = 3;
15