summaryrefslogtreecommitdiffstats
path: root/misc/cgo/stdio/testdata/hello.go
blob: 046bfee7a7915a907f2d8df143889d45bbb1f80a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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")
}