fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. void callOtherFunc () {}
  5.  
  6. #define M(ret, name) \
  7.   ret name(){ \
  8.   return callOtherFunc(); \
  9.   }
  10.  
  11. M(void, foo1)
  12.  
  13. int main ()
  14. {
  15. foo1();
  16. }
Success #stdin #stdout 0s 3408KB
stdin
Standard input is empty
stdout
Standard output is empty