contract C { constructor my_constructor () {} function foo() public pure {} } // ---- Expect: diagnostics ----