|
Last change
on this file since 37ceccb was 80f8703, checked in by Peter A. Buhr <pabuhr@…>, 2 years ago |
|
temporary fix to linkonce problem by changing -7 to 7 so initialization does not invoke an operator
|
-
Property mode
set to
100644
|
|
File size:
327 bytes
|
| Rev | Line | |
|---|
| [aff7e86] | 1 | // Side file for the link-once test.
|
|---|
| 2 |
|
|---|
| [80f8703] | 3 | __attribute__(( cfa_linkonce )) signed int example = 7;
|
|---|
| [aff7e86] | 4 | __attribute__(( cfa_linkonce )) unsigned int example = 12;
|
|---|
| [c21f5a9] | 5 |
|
|---|
| 6 | __attribute__(( cfa_linkonce ))
|
|---|
| 7 | void printformat(signed int signed_value, unsigned int unsigned_value) {
|
|---|
| 8 | printf("signed=%d unsigned=%d\n", signed_value, unsigned_value);
|
|---|
| 9 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.