fork download
  1. struct Foo
  2. {
  3. int x;
  4. }; // Note there's no global Foo variable
  5.  
  6. int main()
  7. {
  8. Foo Foo;
  9. ::Foo Foo2; // will succeed, as it knows to use the globally-scoped Foo
  10. }
  11.  
Success #stdin #stdout 0s 3336KB
stdin
Standard input is empty
stdout
Standard output is empty