blob: e18c5cf98c6cd466295ed86c1b88d4ce1a67d6b6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// Previous versions of Solidity turned this
// into a parser error (they wrongly recognized
// these functions as state variables of
// function type).
contract C
{
modifier only_owner() { _; }
function foo() only_owner public;
function bar() public only_owner;
}
// ----
// Warning: (203-236): Modifiers of functions without implementation are ignored.
// Warning: (241-274): Modifiers of functions without implementation are ignored.
|