Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define ASSERT(a, b) however you want kthx
- struct ohai
- {
- virtual bool lo() { return false; }
- }
- struct ohaithar : public ohai
- {
- bool lo() { return true; }
- }
- int main()
- {
- ohai* hi = new ohai();
- ASSERT(!hi->lo(), "FAGGOT THIS ISN'T GOING TO FAIL");
- hi = new ohaithar();
- ASSERT(hi->lo(), "OH LOOK IT RETURNS TRUE BITCHES");
- }
Add Comment
Please, Sign In to add comment