solidity/test/libsolidity/syntaxTests/inheritance/virtual/duplicate.sol
2019-11-14 11:49:39 +01:00

9 lines
207 B
Solidity

contract C
{
function foo() virtual public virtual {}
modifier modi() virtual virtual {_;}
}
// ----
// ParserError: (44-51): Virtual already specified.
// ParserError: (80-87): Virtual already specified.