]> 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 089130dad5c73e2163b7fbd3fa0c509ada81c319..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]
 }