mirror of
https://github.com/pezkuwichain/revive-differential-tests.git
synced 2026-04-22 21:57:58 +00:00
ebc24a588b
* Add different output formats * Add the mode to the output
17 lines
336 B
Solidity
17 lines
336 B
Solidity
// SPDX-License-Identifier: MIT
|
|
|
|
// Report https://linear.app/matterlabs/issue/CPR-269/call-with-calldata-variable-bug
|
|
|
|
pragma solidity >=0.6.9;
|
|
|
|
import "./callable.sol";
|
|
|
|
contract Main {
|
|
function main(
|
|
uint[1] calldata p1,
|
|
Callable callable
|
|
) public pure returns (uint) {
|
|
return callable.f(p1);
|
|
}
|
|
}
|