Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
petar-dambovaliev committed Sep 29, 2024
1 parent 34df31f commit 5f76cd1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gno.land/cmd/gnoland/testdata/alloc_array.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ package alloc
var buffer interface{}

func DoAlloc() {
var arr [1_000_000_000_000_000]byte
var arr [1_000_000_000_000]byte
buffer = arr
}
2 changes: 1 addition & 1 deletion gno.land/cmd/gnoland/testdata/alloc_byte_slice.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ package alloc
var buffer []byte

func DoAlloc() {
buffer := make([]byte, 1_000_000_000_000)
buffer := make([]byte, 1_000_000_000)
buffer[1] = 'a'
}

0 comments on commit 5f76cd1

Please sign in to comment.