Fix warnings occured during profiledboostrap on
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / 981001-2.c
blobf635cbb60e333ab1754befcadf0c8ea69d799cee
1 /* { dg-require-weak "" } */
2 /* { dg-require-alias "" } */
3 #define weak_alias(func, aliasname) \
4 extern __typeof (func) aliasname __attribute__ ((weak, alias (#func)));
6 #define add3(d, m, c) ((d) + (m) + (c))
8 int
9 __add3(int d, int m, int c)
11 return d + m + c;
14 weak_alias (__add3, add3)