Russ Cox | 84dc501 | 2017-10-27 14:11:21 -0400 | [diff] [blame] | 1 | // cmpout -tags=use_go_run |
Shenghou Ma | 1e95429 | 2012-08-07 09:38:35 +0800 | [diff] [blame] | 2 | |
Emmanuel Odeke | 53fd522 | 2016-04-10 14:32:26 -0700 | [diff] [blame] | 3 | // Copyright 2009 The Go Authors. All rights reserved. |
Russ Cox | 133a158 | 2009-10-03 10:37:12 -0700 | [diff] [blame] | 4 | // Use of this source code is governed by a BSD-style |
| 5 | // license that can be found in the LICENSE file. |
| 6 | |
Russ Cox | 05390a0 | 2015-12-04 22:51:03 -0500 | [diff] [blame] | 7 | // +build test_run |
Russ Cox | c3f4319 | 2012-03-06 23:27:30 -0500 | [diff] [blame] | 8 | |
Russ Cox | 133a158 | 2009-10-03 10:37:12 -0700 | [diff] [blame] | 9 | package main |
| 10 | |
Russ Cox | c3f4319 | 2012-03-06 23:27:30 -0500 | [diff] [blame] | 11 | import "../stdio" |
Russ Cox | 133a158 | 2009-10-03 10:37:12 -0700 | [diff] [blame] | 12 | |
| 13 | func main() { |
Russ Cox | 0432f28 | 2010-07-14 17:17:53 -0700 | [diff] [blame] | 14 | stdio.Stdout.WriteString(stdio.Greeting + "\n") |
Russ Cox | 133a158 | 2009-10-03 10:37:12 -0700 | [diff] [blame] | 15 | } |