mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
9 lines
207 B
Solidity
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.
|