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

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors ctor deferred_resn demangler enum forall-pointer-decay 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 e3d1cc1 was e297ceb, checked in by Thierry Delisle <tdelisle@…>, 9 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.