New test cases.

This commit is contained in:
mingchuan
2018-08-14 18:53:06 +02:00
committed by chriseth
parent b000a022f2
commit 16de7a0493
20 changed files with 126 additions and 0 deletions
@@ -0,0 +1,5 @@
contract C {
function h(uint[]) public pure {}
}
// ----
// TypeError: (28-34): Storage location must be "memory" for parameter in public function, but none was given.
@@ -0,0 +1,5 @@
contract C {
function h() public pure returns(uint[]) {}
}
// ----
// TypeError: (50-56): Storage location must be "memory" for parameter in public function, but none was given.