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

9 lines
217 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 6879: (44-51): Virtual already specified.
// ParserError 2662: (80-87): Virtual already specified.