view libgo/misc/cgo/stdio/hello.go @ 133:420680fc7707

do normal call in goto codesegment in normal function
author anatofuz
date Sat, 03 Nov 2018 19:49:09 +0900
parents 84e7813d76e9
children
line wrap: on
line source

// 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 "../stdio"

func main() {
	stdio.Stdout.WriteString(stdio.Greeting + "\n")
}