mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
10 lines
202 B
Solidity
10 lines
202 B
Solidity
// SPDX-License-Identifier: GPL-3.0
|
|
pragma solidity >=0.0;
|
|
library L { function f(uint) public {} }
|
|
contract test {
|
|
using L for uint;
|
|
function f() public {
|
|
uint x;
|
|
x.f();
|
|
}
|
|
} |