def test_iostream_ctors(self):
    self.do_run('\n#include <iostream>\n\nstruct A {\n  A() { std::cout << "bug"; }\n};\nA a;\n\nint main() {\n  std::cout << "free code" << std::endl;\n  return 0;\n}\n', 'bugfree code')
def test_iostream_ctors(self):
    self.do_run('\n#include <iostream>\n\nstruct A {\n  A() { std::cout << "bug"; }\n};\nA a;\n\nint main() {\n  std::cout << "free code" << std::endl;\n  return 0;\n}\n', 'bugfree code')