source: doc/rob_thesis/examples/ctor/static_ctor.c @ 35dd0f42

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since 35dd0f42 was 9c14ae9, checked in by Rob Schluntz <rschlunt@…>, 8 years ago

add thesis source

  • 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.