source: trunk/testcase/weak/weak3.c@ 476

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

* empty log message *

  • 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: 205 bytes
Line 
1/* Example on weak aliasing as found in some GCC manual:
2 * http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html
3 */
4
5void __f ()
6{
7 return 1;
8}
9
10void f () __attribute__ ((weak, alias ("__f")));
11
Note: See TracBrowser for help on using the repository browser.