Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion benchmarks/MultipleContracts/C.sol
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ library Utils {
}

contract C {
event Called();

function foo() external view returns (address[] memory) {
address[] memory a = new address[](1);
a[0] = msg.sender;
Expand All @@ -29,9 +31,10 @@ contract C {
assert(c[0] == e);
}

function callmyself() external view {
function callmyself() external {
address[] memory b = this.foo();
Utils.getarray(b, address(this));
emit Called();
}

function add(int8 c, int8 d) public pure returns (int8) {
Expand Down
Loading