Source file src/cmd/cgo/internal/teststdio/testdata/hello.go

     1  // Copyright 2009 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  //go:build test_run
     6  
     7  package main
     8  
     9  import "cgostdio/stdio"
    10  
    11  func main() {
    12  	stdio.Stdout.WriteString(stdio.Greeting + "\n")
    13  }
    14  

View as plain text