summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/alias-5.c
blob: 56848c9a416436dc50daece5f23fd88d9b3e976f (plain)
1
2
3
4
5
6
7
/* { dg-do link } */
/* { dg-require-alias "" } */
/* { dg-options "" } */

static inline int foo () { return 0; }
static int bar () __attribute__ ((alias ("foo")));
int main () { return bar (); }