def test1():
    self.do_run('\n        #include <stdio.h>\n        struct C {\n          int x;\n          C() {\n            volatile int y = 10;\n            y++;\n            x = y;\n          }\n        };\n        C c;\n        int main() {\n          printf("x: %d\\n", c.x);\n        }\n      ', 'x: 11\n')
def test1():
    self.do_run('\n        #include <stdio.h>\n        struct C {\n          int x;\n          C() {\n            volatile int y = 10;\n            y++;\n            x = y;\n          }\n        };\n        C c;\n        int main() {\n          printf("x: %d\\n", c.x);\n        }\n      ', 'x: 11\n')