fork download
  1. #include <iostream>
  2.  
  3.  
  4. #define baka() baka<99>()
  5.  
  6. template<int V>
  7. void (baka)()
  8. {
  9. std::cout << V << std::endl;
  10. }
  11.  
  12.  
  13. int main()
  14. {
  15. baka();
  16. baka<3>();
  17. }
  18.  
Success #stdin #stdout 0s 3340KB
stdin
Standard input is empty
stdout
99
3