source: trunk/testcase/weak/weak2-5.c@ 306

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

Early coding.

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 199 bytes
Line 
1/* weak external symbol with resolvable default. */
2int bar5 = 5;
3
4extern int foo(void);
5#pragma weak foo = foodefault
6
7int foodefault(void)
8{
9 return 11;
10}
11
12
13int foo5(void)
14{
15 return foo();
16}
Note: See TracBrowser for help on using the repository browser.