source: doc/theses/rob_schluntz_MMath/examples/conclusions/dtor.c @ 67982887

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resnenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexerpthread-emulationqualifiedEnum
Last change on this file since 67982887 was 67982887, checked in by Peter A. Buhr <pabuhr@…>, 6 years ago

specialize thesis directory-names

  • Property mode set to 100644
File size: 142 bytes
Line 
1forall(otype T)
2struct Box {
3  T x;
4};
5forall(otype T) void ^?{}(Box(T) * x);
6
7forall(otype T)
8void f(T x) {
9  T y = x;
10  Box(T) z = { x };
11}
Note: See TracBrowser for help on using the repository browser.