source: branches/libc-0.6/testcase/weak/weak2-4.c

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

Fixing, confirmed on linux.

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