Guest User

Untitled

a guest
Jul 19th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. #define ASSERT(a, b) however you want kthx
  2.  
  3. struct ohai
  4. {
  5. virtual bool lo() { return false; }
  6. }
  7.  
  8. struct ohaithar : public ohai
  9. {
  10. bool lo() { return true; }
  11. }
  12.  
  13. int main()
  14. {
  15. ohai* hi = new ohai();
  16. ASSERT(!hi->lo(), "FAGGOT THIS ISN'T GOING TO FAIL");
  17. hi = new ohaithar();
  18. ASSERT(hi->lo(), "OH LOOK IT RETURNS TRUE BITCHES");
  19. }
Add Comment
Please, Sign In to add comment