source: trunk/testcase/weak/weak2-4.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: 194 bytes
Line 
1/* weak external symbol, no defaults, not resolved. */
2int bar4 = 4;
3
4extern int weakexternal(void);
5#pragma weak weakexternal
6
7int foo4(void)
8{
9 return weakexternal ? weakexternal() : -1;
10}
Note: See TracBrowser for help on using the repository browser.