fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. struct s
  5. {
  6. int x;
  7. int y;
  8. };
  9.  
  10. typedef s s1, *s2;
  11.  
  12. int main()
  13. {
  14. s1 a;
  15. s2 b = &a;
  16. return 0;
  17. }
Success #stdin #stdout 0s 3292KB
stdin
Standard input is empty
stdout
Standard output is empty