mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
10 lines
254 B
Solidity
10 lines
254 B
Solidity
contract C {
|
|
function f() pure public {
|
|
assembly {
|
|
mload(0)
|
|
}
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError: (75-83): Top-level expressions are not supposed to return values (this expression returns 1 value). Use ``pop()`` or assign them.
|