Add test with internal function

This commit is contained in:
Leonardo Alt 2019-03-19 20:45:20 +01:00
parent 9acec99c31
commit 0386d39942

View File

@ -0,0 +1,11 @@
contract C
{
function f() internal returns (uint x) {
assembly {
x := callvalue()
}
}
function g() public returns (uint) {
return f();
}
}