solidity/test/libsolidity/syntaxTests/viewPureChecker/callvalue_payable_assembly_function_modifier.sol
2021-04-20 17:38:29 +02:00

14 lines
134 B
Solidity

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