Sync usage with man page.
[netbsd-mini2440.git] / gnu / dist / gcc4 / gcc / testsuite / gcc.dg / special / wkali-1.c
blob9d97b8e1288295687c4f0b22d229df747c41b4db
1 /* { dg-do link } */
2 /* { dg-require-weak "" } */
3 /* { dg-require-alias "" } */
5 #include <stdlib.h>
7 extern int foo(void) __attribute__((weak, alias("bar")));
9 int bar(void) {
10 return 1;
13 int main(void) {
15 if (foo())
16 exit(0);
17 else
18 abort();