source: examples/gc_no_raii/bug-repro/oddtype.c @ bf71cfd

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexerpthread-emulationqualifiedEnum
Last change on this file since bf71cfd was bf71cfd, checked in by Thierry Delisle <tdelisle@…>, 6 years ago

Moved up many directories in source

  • Property mode set to 100644
File size: 222 bytes
Line 
1forall(dtype T)
2struct wrap {
3        int i;
4};
5
6forall(otype T) void ?{}(wrap(T)* this) {}
7forall(otype T) void ?=?(wrap(T)* this) {}
8forall(otype T) void ^?{}(wrap(T)* this) {}
9
10struct List_t {
11        int val;
12        wrap(List_t) next;
13};
Note: See TracBrowser for help on using the repository browser.