Add comprehensive syntax tests for indexed access

This commit is contained in:
Alex Beregszaszi
2018-07-24 20:26:36 +01:00
parent ae0959ae12
commit 1dbf2d1923
6 changed files with 46 additions and 0 deletions
@@ -0,0 +1,8 @@
contract C {
function f() public {
bytes[32] memory a;
a[64];
}
}
// ----
// TypeError: (65-70): Out of bounds array access.