source: src/examples/gc_no_raii/bug-repro/zero.c @ e5d4e5c

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since e5d4e5c was 273080f, checked in by Thierry Delisle <tdelisle@…>, 9 years ago

added a bunch of bug repros

  • Property mode set to 100644
File size: 317 bytes
RevLine 
[273080f]1forall(otype T)
2struct wrap
3{
4    T val;
5};
6
7forall(otype T)
8int ?==? (wrap(T) lhs, wrap(T) rhs)
9{
10    return 0;
11}
12
13/*
14struct wrap(int) 0;
15/*/
16forall(otype T)
17struct wrap(T) 0;
18//*/
19
20int main(int argc, char const *argv[])
21{
22    wrap(int) test;
23    if(test == 0) { return 1; }
24    return 0;
25}
Note: See TracBrowser for help on using the repository browser.