aboutsummaryrefslogtreecommitdiff
path: root/src/go/internal/gccgoimporter/testdata/notinheap.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/go/internal/gccgoimporter/testdata/notinheap.go')
-rw-r--r--src/go/internal/gccgoimporter/testdata/notinheap.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/go/internal/gccgoimporter/testdata/notinheap.go b/src/go/internal/gccgoimporter/testdata/notinheap.go
new file mode 100644
index 0000000000..b1ac967227
--- /dev/null
+++ b/src/go/internal/gccgoimporter/testdata/notinheap.go
@@ -0,0 +1,4 @@
+package notinheap
+
+//go:notinheap
+type S struct{}