Skip to content

Commit 7473a01

Browse files
fixup! add more tests
1 parent 8b303fb commit 7473a01

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
bytes32 constant b = "bytes";
2+
contract A layout at b[1] {}
3+
// ----
4+
// TypeError 1763: (51-55): Contract storage base location must be in range of type uint256. Current type is bytes1
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
contract A layout at -1 {}
2+
// ----
3+
// TypeError 1763: (21-23): Contract storage base location must be in range of type uint256. Current type is int_const -1 Cannot implicitly convert signed literal to unsigned type.

0 commit comments

Comments
 (0)