mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
16 lines
263 B
Solidity
16 lines
263 B
Solidity
// SPDX-License-Identifier: UNLICENSED
|
|
pragma solidity >=0.8.0;
|
|
|
|
library Lib
|
|
{
|
|
function add(uint a, uint b) public pure returns (uint result)
|
|
{
|
|
result = a + b;
|
|
}
|
|
|
|
function warningWithUnused() public pure
|
|
{
|
|
uint unused;
|
|
}
|
|
}
|