ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change
on this file since afd7faf was
aff7e86,
checked in by Andrew Beach <ajbeach@…>, 3 years ago
|
Added a new attribute 'cfa_linkonce'.
|
-
Property mode set to
100644
|
File size:
294 bytes
|
Rev | Line | |
---|
[aff7e86] | 1 | // Test our new cfa_linkonce attribute: |
---|
| 2 | |
---|
| 3 | __attribute__(( cfa_linkonce )) signed int example = -7; |
---|
| 4 | __attribute__(( cfa_linkonce )) unsigned int example = 12; |
---|
| 5 | |
---|
| 6 | int main(int argc, char * argv[]) { |
---|
| 7 | signed int si = example; |
---|
| 8 | unsigned int ui = example; |
---|
| 9 | printf("signed=%d unsigned=%d\n", si, ui); |
---|
| 10 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.