solidity/test/libsolidity/syntaxTests/viewPureChecker/callvalue_payable_assembly_fallback.sol

10 lines
130 B
Solidity
Raw Normal View History

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