mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Note function entry points.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
pragma solidity >=0.0;
|
||||
// SPDX-License-Identifier: GPL-3.0
|
||||
contract C {
|
||||
function f(uint[] calldata x) pure external returns (uint) { return x[0]; }
|
||||
// This will be optimized out
|
||||
function g() pure internal {}
|
||||
}
|
||||
Reference in New Issue
Block a user