ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumwith_gc
Last change
on this file since fb16d5c was
728df66,
checked in by Peter A. Buhr <pabuhr@…>, 7 years ago
|
more documentation name changes
|
-
Property mode set to
100644
|
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.