mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
42 lines
602 B
JSON
42 lines
602 B
JSON
{
|
|
"language": "Solidity",
|
|
"sources": {
|
|
"A": {
|
|
"content": "
|
|
// SPDX-License-Identifier: GPL-3.0
|
|
pragma solidity >=0.0;
|
|
|
|
library L1 {
|
|
function f() external {}
|
|
}
|
|
|
|
library L2 {
|
|
function f() external {}
|
|
}
|
|
|
|
contract C {
|
|
function foo() public {
|
|
L1.f();
|
|
L2.f();
|
|
L1.f();
|
|
L2.f();
|
|
L1.f();
|
|
}
|
|
}
|
|
"
|
|
}
|
|
},
|
|
"settings": {
|
|
"libraries": {
|
|
"A": {
|
|
"L1": "0x1234567890123456789012345678901234567890"
|
|
}
|
|
},
|
|
"outputSelection": {
|
|
"*": {
|
|
"C": ["evm.bytecode.object", "evm.bytecode.linkReferences"]
|
|
}
|
|
}
|
|
}
|
|
}
|