solidity/test/cmdlineTests/function_debug_info_via_yul/input.sol

8 lines
222 B
Solidity
Raw Permalink Normal View History

2020-05-07 12:46:47 +00:00
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 {}
}