]> Cypherpunks.ru repositories - gostls13.git/blobdiff - test/compos.go
cmd/compile/internal/inline: score call sites exposed by inlines
[gostls13.git] / test / compos.go
index 65aca4f1e04596f7f7e3132a59579eb10a96f928..e6375f2697b42a50cf1138bb590d7ad4d1a15b11 100644 (file)
@@ -1,9 +1,11 @@
 // run
 
-// Copyright 2009 The Go Authors.  All rights reserved.
+// 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 {