source: branches/libc-0.6/testcase/weak/weak-1.c

Last change on this file was 1152, checked in by bird, 22 years ago

Extended testcase.

  • Property cvs2svn:cvs-rev set to 1.2
  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 219 bytes
Line 
1/* everything is weak in this testcase */
2#pragma weak bar
3#pragma weak foo
4#pragma weak doo
5int bar = -1;
6
7int foo(void)
8{
9 return -1;
10}
11
12int doo(void)
13{
14 return -2;
15}
16
17int weak_in_main(void)
18{
19 return -3;
20}
21
Note: See TracBrowser for help on using the repository browser.