]> Cypherpunks repositories - gostls13.git/commit
test: re-enabled fixedbugs/notinheap.go test
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Wed, 10 Jul 2024 17:14:33 +0000 (00:14 +0700)
committerGopher Robot <gobot@golang.org>
Wed, 24 Jul 2024 00:11:47 +0000 (00:11 +0000)
commitb73875ff6cae1b9c790e9c8d4e99ecb7185f8cd9
tree3f3afd800d6d9c97f78428c2c0f23be19fdcccce
parent88833c90457e02edf4641cf914512ab920380431
test: re-enabled fixedbugs/notinheap.go test

By using cgo.Incomplete to represent not-in-heap type.

While at it, also removing the type conversions tests, since they could
not be present without //go:notinheap pragma.

Fixes #54846

Change-Id: I5ee2a4b6498d4100c9770ed7bd62f52623e42526
Reviewed-on: https://go-review.googlesource.com/c/go/+/597536
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Keith Randall <khr@google.com>
Auto-Submit: Cuong Manh Le <cuong.manhle.vn@gmail.com>
src/cmd/internal/testdir/testdir_test.go
test/fixedbugs/notinheap.go