|
Last change
on this file since 306 was 306, checked in by bird, 23 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:
236 bytes
|
| Line | |
|---|
| 1 | /* weak external symbol with unresolvable default. */
|
|---|
| 2 | int bar6 = 6;
|
|---|
| 3 |
|
|---|
| 4 | extern int foo(void);
|
|---|
| 5 | #pragma weak weakexternal = weakexternaldefault
|
|---|
| 6 |
|
|---|
| 7 | int weakexternaldefault(void)
|
|---|
| 8 | {
|
|---|
| 9 | return 12;
|
|---|
| 10 | }
|
|---|
| 11 |
|
|---|
| 12 | int foo6(void)
|
|---|
| 13 | {
|
|---|
| 14 | return weakexternal();
|
|---|
| 15 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.