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

11 lines
129 B
Solidity
Raw Normal View History

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