ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change
on this file since c09e4bc was
e297ceb,
checked in by Thierry Delisle <tdelisle@…>, 8 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 | |
---|
7 | int 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.