summaryrefslogtreecommitdiffhomepage
path: root/tools/checkescape/test2
diff options
context:
space:
mode:
Diffstat (limited to 'tools/checkescape/test2')
-rw-r--r--tools/checkescape/test2/test2.go7
1 files changed, 1 insertions, 6 deletions
diff --git a/tools/checkescape/test2/test2.go b/tools/checkescape/test2/test2.go
index 7fce3e3be..067d5a1f4 100644
--- a/tools/checkescape/test2/test2.go
+++ b/tools/checkescape/test2/test2.go
@@ -81,14 +81,9 @@ func dynamicCrossPkg(f func()) {
test1.Dynamic(f)
}
-// +mustescape:unknown
-//go:noinline
-func unknownCrossPkg() {
- test1.Unknown()
-}
-
// +mustescape:stack
//go:noinline
+//go:nosplit
func splitCrosssPkt() {
test1.Split()
}