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

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors ctor deferred_resn demangler enum forall-pointer-decay gc_noraii jacob/cs343-translation jenkins-sandbox memory new-ast new-ast-unique-expr new-env no_list persistent-indexer pthread-emulation qualifiedEnum resolv-new with_gc
Last change on this file since 624aab0 was 624aab0, checked in by Thierry Delisle <tdelisle@…>, 10 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.