solidity/test/libsolidity/syntaxTests/viewPureChecker/callvalue_payable_assembly_function_modifier.sol
2019-03-19 20:45:27 +01:00

13 lines
126 B
Solidity

contract C
{
modifier m {
uint x;
assembly {
x := callvalue()
}
_;
}
function f() m public payable {
}
}