summaryrefslogtreecommitdiff
path: root/test/compos.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/compos.go')
-rw-r--r--test/compos.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/compos.go b/test/compos.go
index 70f90f379..de688b39b 100644
--- a/test/compos.go
+++ b/test/compos.go
@@ -1,9 +1,11 @@
-// $G $D/$F.go && $L $F.$A && ./$A.out || echo BUG: compos
+// run
// Copyright 2009 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 that returning &T{} from a function causes an allocation.
+
package main
type T struct {