source:
doc/theses/rob_schluntz_MMath/examples/conclusions/dtor.c
@
43d9679
Last change on this file since 43d9679 was 67982887, checked in by , 6 years ago | |
---|---|
|
|
File size: 142 bytes |
Line | |
---|---|
1 | forall(otype T) |
2 | struct Box { |
3 | T x; |
4 | }; |
5 | forall(otype T) void ^?{}(Box(T) * x); |
6 | |
7 | forall(otype T) |
8 | void f(T x) { |
9 | T y = x; |
10 | Box(T) z = { x }; |
11 | } |
Note: See TracBrowser
for help on using the repository browser.