source:
doc/theses/rob_schluntz_MMath/examples/ctor/static_ctor.c
@
cd1d721
Last change on this file since cd1d721 was 67982887, checked in by , 6 years ago | |
---|---|
|
|
File size: 157 bytes |
Line | |
---|---|
1 | struct X { |
2 | int y, z; |
3 | }; |
4 | void ?{}(X *); |
5 | void ?{}(X *, int, int); |
6 | void ^?{}(X *); |
7 | |
8 | int f(int x) { |
9 | static X a; |
10 | static X b = { x, x }; |
11 | static X c = b; |
12 | } |
Note: See TracBrowser
for help on using the repository browser.