source: src/examples/gc_no_raii/bug-repro/return_template.c @ bee4283

aaron-thesisarm-ehcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerresolv-newwith_gc
Last change on this file since bee4283 was bee4283, checked in by Thierry Delisle <tdelisle@…>, 6 years ago

GC files now compile, still working on a compiling example

  • Property mode set to 100644
File size: 306 bytes
RevLine 
[624aab0]1forall(otype T)
2struct wrap
3{
4        T value;
5};
6
[bee4283]7forall(otype T) void ?{}(wrap(T)* this);
8forall(otype T) void ?{}(wrap(T)* this, wrap(T)* rhs);
9forall(otype T) void ^?{}(wrap(T)* this);
10forall(otype T) void ?=?(wrap(T)* this, wrap(T)* rhs);
11
[624aab0]12forall(otype T)
[bee4283]13wrap(T) test()
[624aab0]14{
15        wrap(T) tester;
16        return tester;
17}
Note: See TracBrowser for help on using the repository browser.