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

11 lines
130 B
Solidity

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