[ create a new paste ] login | about

Link: http://codepad.org/pPKt31HZ    [ raw code | fork ]

C++, pasted on Mar 19:
1
2
3
4
5
6
7
8
9
10
#include <stdio.h>

void* operator new( size_t N, int x ) {
  return new char[N];
}

int main( void ) {
  int x = int();
  int* a = new( int() ) int;
}


Output:
No errors or program output.


Create a new paste based on this one


Comments: