]> Cypherpunks.ru repositories - gostls13.git/blobdiff - test/nilptr2.go
cmd/compile/internal/inline: score call sites exposed by inlines
[gostls13.git] / test / nilptr2.go
index 57a5f8068f090ba1a8b59225ee7c93ff10624b97..8a85b6dbcb16484f3bdfe1052f20dd24a5494534 100644 (file)
@@ -1,6 +1,6 @@
 // run
 
-// Copyright 2013 The Go Authors.  All rights reserved.
+// Copyright 2013 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.
 
@@ -35,7 +35,10 @@ var m *M
 var m1 *M1
 var m2 *M2
 
-func use(interface{}) {
+var V interface{}
+
+func use(x interface{}) {
+       V = x
 }
 
 var tests = []struct{