Skip to content

Instantly share code, notes, and snippets.

@ohac
Created February 23, 2018 09:14
Show Gist options
  • Select an option

  • Save ohac/3787dfbbbd5cd22556f464c3e8e572cf to your computer and use it in GitHub Desktop.

Select an option

Save ohac/3787dfbbbd5cd22556f464c3e8e572cf to your computer and use it in GitHub Desktop.
class foo {
public:
foo* operator>>(const char* str) { return (foo*)0; }
};
#define cout void x(){foo a;a
#define return0 ;}
int main() { return 0; }
/*
$ cat boku.cpp
#include<studio.h>
int main();
cout>>"Hello World!"
return0
$ g++ -I. boku.cpp
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment