solidity/test/libsolidity/syntaxTests/freeFunctions/free_virtual.sol

5 lines
98 B
Solidity
Raw Normal View History

2020-05-04 16:38:00 +00:00
function fun() virtual {
}
// ----
// SyntaxError 4493: (0-26): Free functions cannot be virtual.