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

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

Moved up many directories in source

  • Property mode set to 100644
File size: 306 bytes
Line 
1forall(otype T)
2struct wrap
3{
4        T value;
5};
6
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
12forall(otype T)
13wrap(T) test()
14{
15        wrap(T) tester;
16        return tester;
17}
Note: See TracBrowser for help on using the repository browser.