fork download
  1. #include <iostream>
  2.  
  3. void foo()
  4. {
  5. typedef int I;
  6. extern I a;
  7. std::cout << a;
  8. }
  9.  
  10. typedef char I;
  11. I a;
  12.  
  13. int main()
  14. {
  15. foo();
  16. }
Success #stdin #stdout 0s 3340KB
stdin
Standard input is empty
stdout
Standard output is empty