URL
https://opencores.org/ocsvn/thor/thor/trunk
Subversion Repositories thor
[/] [thor/] [trunk/] [software/] [c64/] [testfiles/] [NewTest.cpp] - Rev 54
Go to most recent revision | Compare with Previous | Blame | View Log
// Test the new operator // These references will be non-mangled int printf(char *, ...); using name mangler; // use compiler name mangling facility int main(int argc, char **argv) { void *obj; obj = new int[100]; printf("object pointer is %p\n", obj); delete obj; } // Back to using non-mangled names again using real names;
Go to most recent revision | Compare with Previous | Blame | View Log