fork download
  1. #include <new>
  2. #include <iostream>
  3. #define mew nyaaan
  4. #define nyaaan new((void*)0)
  5.  
  6. int main()
  7. {
  8. int* nyao = mew int(0);
  9. std::cout << "nyan!" << std::endl;
  10. delete nyao;
  11. }
Success #stdin #stdout 0s 2896KB
stdin
Standard input is empty
stdout
nyan!