PR target/83368
[official-gcc.git] / gcc / testsuite / gcc.dg / pr56727-2.c
blob62a74d1ea31b41f03a6a2249df0e77857d5a6ffe
1 /* { dg-do compile { target fpic } } */
2 /* { dg-options "-O2 -fPIC" } */
3 /* { dg-require-alias "" } */
4 /* { dg-final { scan-assembler "@(PLT|plt)" { target i?86-*-* x86_64-*-* powerpc*-*-linux* } } } */
6 __attribute__((noinline, noclone))
7 void f (short b)
9 f (0);
12 static void g (short) __attribute__ ((alias ("f")));
14 void h ()
16 g (0);