solidity/test/libsolidity/syntaxTests/inheritance/base_not_contract.sol

6 lines
95 B
Solidity
Raw Normal View History

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