mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
299873182b
Include the pragma explicitly, rename the file to have a _v1 suffix, and also add V2 counterparts where missing.
12 lines
262 B
Solidity
12 lines
262 B
Solidity
pragma abicoder v1;
|
|
contract C {
|
|
function t(uint) public pure {}
|
|
}
|
|
// ====
|
|
// EVMVersion: >=byzantium
|
|
// ABIEncoderV1Only: true
|
|
// compileViaYul: false
|
|
// revertStrings: debug
|
|
// ----
|
|
// t(uint256) -> FAILURE, hex"08c379a0", 0x20, 0x12, "Calldata too short"
|