fork download
  1. #include <string>
  2. using std::string;
  3.  
  4. namespace n1 {
  5. void test(string const & s){ // or string s
  6. return test(s+',');
  7. }
  8. }
  9.  
  10. namespace n2 {
  11. void test(string & s){
  12. std::string s2 = s + ',';
  13. return test(s2);
  14. }
  15. }
  16.  
  17. int main() {}
Success #stdin #stdout 0s 3336KB
stdin
Standard input is empty
stdout
Standard output is empty