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
248bc387cd
solidity
/
test
/
libsolidity
/
syntaxTests
/
viewPureChecker
/
callvalue_payable_assembly_function.sol
10 lines
127 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
{
function
f
(
uint
x
)
public
payable
{
assembly
{
x
:
=
callvalue
(
)
}
}
}
Trivial isoltest updates: missing // ---- at the end
2021-03-12 23:02:36 +00:00
// ----
Reference in New Issue
Copy Permalink