Skip to content

Commit 1462b8b

Browse files
authored
Update Libs.sol
1 parent 817ffe4 commit 1462b8b

File tree

1 file changed

+4
-4
lines changed
  • testdata/default/linking/samefile_union

1 file changed

+4
-4
lines changed

testdata/default/linking/samefile_union/Libs.sol

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
pragma solidity ^0.8.18;
33

44
library LInit {
5-
function f() internal pure returns (uint256) {
6-
return 1;
5+
function f() external view returns (uint256) {
6+
return block.number;
77
}
88
}
99

1010
library LRun {
11-
function g() internal pure returns (uint256) {
12-
return 2;
11+
function g() external view returns (uint256) {
12+
return block.timestamp;
1313
}
1414
}

0 commit comments

Comments
 (0)