fork download
  1. struct Lit { int ch; };
  2.  
  3. void reg(Lit x) {}
  4.  
  5. template<class T>
  6. class Parser
  7. {
  8. public:
  9. Parser() { reg(Lit{ 1 }); }
  10. };
  11.  
  12. int main()
  13. {
  14. Parser<int>();
  15. return 0;
  16. }
Success #stdin #stdout 0s 15232KB
stdin
Standard input is empty
stdout
Standard output is empty