source: tests/link-once/partner.cfa @ fcd65ca

ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
Last change on this file since fcd65ca was c21f5a9, checked in by Andrew Beach <ajbeach@…>, 4 years ago

Andrew MMath: Work on figures and linkonce.

  • Property mode set to 100644
File size: 328 bytes
RevLine 
[aff7e86]1// Side file for the link-once test.
2
3__attribute__(( cfa_linkonce )) signed int example = -7;
4__attribute__(( cfa_linkonce )) unsigned int example = 12;
[c21f5a9]5
6__attribute__(( cfa_linkonce ))
7void 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.