]> Git Repo - binutils.git/blame - ld/testsuite/ld-elfweak/main.c
2001-09-14 H.J. Lu <[email protected]>
[binutils.git] / ld / testsuite / ld-elfweak / main.c
CommitLineData
16a57284
L
1#include <stdio.h>
2
3#pragma weak foo
4
5extern void foo ();
0c52a746 6extern void foobar ();
16a57284
L
7
8void
9foo ()
10{
11 printf ("weak foo\n");
12}
13
14int
15main ()
16{
0c52a746 17 foobar ();
16a57284
L
18 return 0;
19}
This page took 0.023471 seconds and 4 git commands to generate.