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

11 lines
130 B
Solidity
Raw Normal View History

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