Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr56727-2.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children | 84e7813d76e9 |
rev | line source |
---|---|
111 | 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* } } } */ | |
5 | |
6 __attribute__((noinline, noclone)) | |
7 void f (short b) | |
8 { | |
9 f (0); | |
10 } | |
11 | |
12 static void g (short) __attribute__ ((alias ("f"))); | |
13 | |
14 void h () | |
15 { | |
16 g (0); | |
17 } |