source: src/examples/gc_no_raii/test/gctest.c @ e297ceb

aaron-thesisarm-ehcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerresolv-newwith_gc
Last change on this file since e297ceb was e297ceb, checked in by Thierry Delisle <tdelisle@…>, 6 years ago

added a version of gcmalloc that uses output arguments

  • Property mode set to 100644
File size: 190 bytes
Line 
1#include <fstream>
2
3#include "gc.h"
4
5#warning default test
6
7int main() {
8        sout | "Bonjour au monde!\n";
9
10        for(int i = 0; i < 1000000; i++) {
11                gcpointer(int) anInt;
12                gcmalloc(&anInt);
13        }
14}
Note: See TracBrowser for help on using the repository browser.