source: branches/libc-0.6/src/libctests/glibc/elf/tst-piemod1.c

Last change on this file was 2036, checked in by bird, 20 years ago

Initial revision

  • 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: 195 bytes
Line 
1#include <stdio.h>
2
3int
4foo (void)
5{
6 return 21;
7}
8
9int
10main (void)
11{
12 int val = foo ();
13 if (val != 34)
14 {
15 printf ("foo () returned %d\n", val);
16 return 1;
17 }
18
19 return 0;
20}
Note: See TracBrowser for help on using the repository browser.