OSDN Git Service

* c-decl.c (grokfield): Allow typedefs for anonymous structs and
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / alias-6.c
1 /* { dg-do link } */
2 /* { dg-require-alias "" } */
3 /* { dg-options "-O2 -funit-at-a-time" } */
4
5 static inline int foo () { return 0; }
6 static int bar () __attribute__ ((alias ("foo")));
7 int main () { return bar (); }