source: doc/theses/rob_schluntz_MMath/examples/ctor/static_ctor.c

Last change on this file was 67982887, checked in by Peter A. Buhr <pabuhr@…>, 4 years ago

specialize thesis directory-names

  • Property mode set to 100644
File size: 157 bytes
Line 
1struct X {
2  int y, z;
3};
4void ?{}(X *);
5void ?{}(X *, int, int);
6void ^?{}(X *);
7
8int 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.