solidity/test/libsolidity/syntaxTests/inheritance/base_not_contract.sol
2020-11-05 10:30:09 +00:00

6 lines
95 B
Solidity

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