solidity/test/libsolidity/syntaxTests/inheritance/base_not_contract.sol
2022-04-01 23:41:18 -05:00

6 lines
101 B
Solidity

function fun() {}
contract C is fun {}
// ----
// TypeError 8758: (33-36='fun'): Contract expected.