mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Change placeholder style.
This commit is contained in:
parent
1eb7ddbb09
commit
ff11aa1927
@ -7154,7 +7154,7 @@ BOOST_AUTO_TEST_CASE(no_nonpayable_circumvention_by_modifier)
|
||||
char const* sourceCode = R"(
|
||||
contract C {
|
||||
modifier tryCircumvent {
|
||||
if (false) _ // avoid the function, we should still not accept ether
|
||||
if (false) _; // avoid the function, we should still not accept ether
|
||||
}
|
||||
function f() tryCircumvent returns (uint) {
|
||||
return msg.value;
|
||||
|
Loading…
Reference in New Issue
Block a user