mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
12 lines
262 B
Solidity
12 lines
262 B
Solidity
contract Foo {
|
|
function test() public {
|
|
try this.f() {}
|
|
catch Error(string reason) {}
|
|
}
|
|
|
|
function f() public {
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError 6651: (88-101): Data location must be "memory" for parameter in function, but none was given.
|