source:
trunk/testcase/weak/weak2-3.c@
2519
| Last change on this file since 2519 was 308, checked in by , 23 years ago | |
|---|---|
|
|
| File size: 120 bytes | |
| Rev | Line | |
|---|---|---|
| [306] | 1 | int bar3 = 3; |
| 2 | ||
| [308] | 3 | int foo(void); |
| [306] | 4 | #pragma weak foo |
| [308] | 5 | |
| [306] | 6 | int foo(void) |
| 7 | { | |
| 8 | return 3; | |
| 9 | } | |
| 10 | ||
| 11 | int foo3(void) | |
| 12 | { | |
| 13 | return foo(); | |
| 14 | } | |
| 15 | ||
| 16 |
Note:
See TracBrowser
for help on using the repository browser.
