]> Cypherpunks.ru repositories - gostls13.git/blobdiff - test/linkx_run.go
cmd/compile/internal/inline: score call sites exposed by inlines
[gostls13.git] / test / linkx_run.go
index cc249c9cfc2e221a75f5d57860e50538d15b6bca..15f7c9ab4f93451dad9100b2bdef1bd9b62a7b40 100644 (file)
@@ -1,6 +1,7 @@
-// +build !nacl
 // run
 
+//go:build !nacl && !js && !wasip1 && gc
+
 // Copyright 2014 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.
@@ -36,7 +37,7 @@ func test(sep string) {
                os.Exit(1)
        }
 
-       want := "hello\ntrumped\n"
+       want := "hello\nhello\nhello\ntrumped\ntrumped\ntrumped\n"
        got := out.String()
        if got != want {
                fmt.Printf("got %q want %q\n", got, want)