source: doc/rob_thesis/examples/conclusions/dtor.c@ 6840e7c

ADT arm-eh ast-experimental cleanup-dtors enum forall-pointer-decay jacob/cs343-translation jenkins-sandbox new-ast new-ast-unique-expr pthread-emulation qualifiedEnum
Last change on this file since 6840e7c was f92aa32, checked in by Rob Schluntz <rschlunt@…>, 8 years ago

thesis conclusions and editting pass

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