Skip to content

Commit

Permalink
fixup! add more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusaaguiar committed Jan 17, 2025
1 parent 8b303fb commit 7473a01
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
bytes32 constant b = "bytes";
contract A layout at b[1] {}
// ----
// TypeError 1763: (51-55): Contract storage base location must be in range of type uint256. Current type is bytes1
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
contract A layout at -1 {}
// ----
// 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 comments on commit 7473a01

Please sign in to comment.