Advertisement
Guest User

Untitled

a guest
May 1st, 2011
1,116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.27 KB | None | 0 0
  1. __attribute__((noinline))
  2. int baz(void) {
  3.   return 1;
  4. }
  5.  
  6. inline const int& bar(const int& a, const int& b) {
  7.   return a ? a : b;
  8. }
  9.  
  10. int foo(int a, int b) {
  11.   return a || b ? baz() : foo(bar(a, b), 1) + foo(1, 0);
  12. }
  13.  
  14. int main(void) {
  15.   return foo(0, 0) != 2;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement