source: doc/rob_thesis/examples/ctor/static_ctor.c @ a1edafa

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 a1edafa was 9c14ae9, checked in by Rob Schluntz <rschlunt@…>, 7 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.