]> Cypherpunks.ru repositories - gostls13.git/blobdiff - test/escape5.go
cmd/compile/internal/inline: score call sites exposed by inlines
[gostls13.git] / test / escape5.go
index 97aaf23b2d124df2125c1caceaeb140f150e58ec..133d973ba5d5f8290d7f2746f6a2c28918350a79 100644 (file)
@@ -151,7 +151,7 @@ func f9() {
 func f10() {
        // These don't escape but are too big for the stack
        var x [1 << 30]byte         // ERROR "moved to heap: x"
-       var y = make([]byte, 1<<30) // ERROR "make\(\[\]byte, 1 << 30\) escapes to heap"
+       var y = make([]byte, 1<<30) // ERROR "make\(\[\]byte, 1073741824\) escapes to heap"
        _ = x[0] + y[0]
 }
 
@@ -173,13 +173,13 @@ type U int
 func (*U) M()   {}
 func (_ *U) N() {}
 
-func _() {
+func fbad24305a() {
        var u U
        u.M()
        u.N()
 }
 
-func fbad24305() {
+func fbad24305b() {
        var u U
        (*U).M(&u)
        (*U).N(&u)