solidity/test/libsolidity/syntaxTests/inheritance/virtual/duplicate.sol

9 lines
207 B
Solidity
Raw Normal View History

2019-10-30 13:34:37 +00:00
contract C
{
function foo() virtual public virtual {}
modifier modi() virtual virtual {_;}
}
// ----
// ParserError: (44-51): Virtual already specified.
// ParserError: (80-87): Virtual already specified.