]> Cypherpunks.ru repositories - gostls13.git/blobdiff - test/nowritebarrier.go
cmd/compile/internal/inline: score call sites exposed by inlines
[gostls13.git] / test / nowritebarrier.go
index 654f16d0d2468533b549978ceee91c1b41858ab7..d176e28b5ae3fd204398d703005f06f05fcbe43e 100644 (file)
@@ -1,12 +1,14 @@
-// errorcheck -+
+// errorcheck -+ -p=runtime
 
 // Copyright 2016 The Go Authors. All rights reserved.
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
 // Test go:nowritebarrier and related directives.
+// This must appear to be in package runtime so the compiler
+// recognizes "systemstack".
 
-package p
+package runtime
 
 type t struct {
        f *t