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 e4bc986 was
46f1d20,
checked in by Thierry Delisle <tdelisle@…>, 8 years ago
|
some changes to checks in gc which are very intrusive
|
-
Property mode set to
100644
|
File size:
222 bytes
|
Rev | Line | |
---|
[46f1d20] | 1 | forall(dtype T) |
---|
| 2 | struct wrap { |
---|
| 3 | int i; |
---|
| 4 | }; |
---|
| 5 | |
---|
| 6 | forall(otype T) void ?{}(wrap(T)* this) {} |
---|
| 7 | forall(otype T) void ?=?(wrap(T)* this) {} |
---|
| 8 | forall(otype T) void ^?{}(wrap(T)* this) {} |
---|
| 9 | |
---|
| 10 | struct List_t { |
---|
| 11 | int val; |
---|
| 12 | wrap(List_t) next; |
---|
| 13 | }; |
---|
Note: See
TracBrowser
for help on using the repository browser.