fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. namespace {
  5. namespace {
  6. int foo1() { return 0; }
  7. }
  8. int foo2() { return 1; }
  9. }
  10. int foo3() { return 2; }
  11.  
  12.  
  13. int main() {
  14. cout << foo1() << foo2() << foo3() << "\n";
  15. }
Success #stdin #stdout 0s 2928KB
stdin
Standard input is empty
stdout
012