1
0
mirror of https://github.com/golang/go synced 2024-11-15 00:50:32 -07:00
go/misc/cgo/stdio/testdata/hello.go

16 lines
309 B
Go
Raw Normal View History

// run -tags=use_go_run
// Copyright 2009 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.
// +build test_run
package main
import "cgostdio/stdio"
func main() {
stdio.Stdout.WriteString(stdio.Greeting + "\n")
}