source: src/examples/gc_no_raii/gctest.c @ 15db1ab

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 15db1ab was 15db1ab, checked in by Thierry Delisle <tdelisle@…>, 8 years ago

added some files for the garbage collector and hack together the compilation

  • Property mode set to 100644
File size: 157 bytes
Line 
1
2#include "gc.h"
3#include "fstream.h"
4
5int main() {
6        ofstream *sout = ofstream_stdout();
7        ifstream *sin = ifstream_stdin();
8        sout | "Bonjour au monde!\n";
9}
Note: See TracBrowser for help on using the repository browser.