This website requires JavaScript.
Explore
Help
Sign In
cerc-io
/
solidity
Watch
16
Star
0
Fork
0
You've already forked solidity
mirror of
https://github.com/ethereum/solidity
synced
2023-10-03 13:03:40 +00:00
Code
Issues
Actions
Packages
Projects
Releases
Wiki
Activity
ccdf57c9b1
solidity
/
test
/
libsolidity
/
syntaxTests
/
viewPureChecker
/
callvalue_nonpayable_assembly_fallback.sol
11 lines
129 B
Solidity
Raw
Normal View
History
Unescape
Escape
Issue error for callvalue in nonpayable function
2019-03-19 15:51:33 +00:00
contract
C
{
Split fallback function and introduce "fallback()" and "receive()" syntax.
2019-09-09 16:22:02 +00:00
fallback
(
)
external
{
Issue error for callvalue in nonpayable function
2019-03-19 15:51:33 +00:00
uint
x
;
assembly
{
x
:
=
callvalue
(
)
}
}
}
// ----
Reference in New Issue
Copy Permalink