fork download
  1. #include <iostream>
  2. #include <cstdlib>
  3.  
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8. struct X
  9. {
  10. mutable struct
  11. {
  12. int i;
  13. int j;
  14. } y;
  15. };
  16. X const x{};
  17. x.y.i = 1;
  18. return EXIT_SUCCESS;
  19. }
Success #stdin #stdout 0s 3456KB
stdin
Standard input is empty
stdout
Standard output is empty