solidity/test/libsolidity/ABIJson/structs_and_arrays.sol
2019-07-02 18:11:49 +02:00

32 lines
580 B
Solidity

// bug #1801
contract test {
function f(string calldata a, bytes calldata b, uint[] calldata c) external {}
}
// ----
// :test
// [
// {
// "constant": false,
// "inputs":
// [
// {
// "name": "a",
// "type": "string"
// },
// {
// "name": "b",
// "type": "bytes"
// },
// {
// "name": "c",
// "type": "uint256[]"
// }
// ],
// "name": "f",
// "outputs": [],
// "payable": false,
// "stateMutability": "nonpayable",
// "type": "function"
// }
// ]