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

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

some more bug repros

  • Property mode set to 100644
File size: 126 bytes
RevLine 
[624aab0]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.