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

13 lines
178 B
Solidity

contract C
{
receive () external payable {
}
fallback () external payable {
uint x;
assembly {
x := callvalue()
}
}
}
// ----