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

10 lines
130 B
Solidity

contract C
{
function () external payable {
uint x;
assembly {
x := callvalue()
}
}
}