| 25 | const char *testConstructorAfterNew = |
| 26 | "void int:int(int x, y){ *this = x; }\r\n\ |
| 27 | int ref a = new int(5, 0);\r\n\ |
| 28 | int foo(int ref x){ return *x; }\r\n\ |
| 29 | return *a + foo(new int(30, 0));"; |
| 30 | TEST_RESULT("Type constructor after new.", testConstructorAfterNew, "35"); |
| 31 |
no outgoing calls
no test coverage detected