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

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since 624aab0 was 624aab0, checked in by Thierry Delisle <tdelisle@…>, 8 years ago

some more bug repros

  • Property mode set to 100644
File size: 126 bytes
Line 
1forall(otype T)
2struct wrap
3{
4        T value;
5};
6
7forall(otype T)
8static inline wrap(T) test()
9{
10        wrap(T) tester;
11        return tester;
12}
Note: See TracBrowser for help on using the repository browser.