Brad Fitzpatrick | e014cf0 | 2012-02-24 13:17:26 +1100 | [diff] [blame] | 1 | // cmpout |
Rob Pike | 126150d | 2008-06-06 13:28:03 -0700 | [diff] [blame] | 2 | |
| 3 | // Copyright 2009 The Go Authors. All rights reserved. |
| 4 | // Use of this source code is governed by a BSD-style |
| 5 | // license that can be found in the LICENSE file. |
| 6 | |
Rob Pike | 501f0b5 | 2012-02-23 18:47:26 +1100 | [diff] [blame] | 7 | // Test that we can do page 1 of the C book. |
| 8 | |
Rob Pike | 126150d | 2008-06-06 13:28:03 -0700 | [diff] [blame] | 9 | package main |
| 10 | |
Rob Pike | 34cb7c2 | 2008-06-27 14:15:06 -0700 | [diff] [blame] | 11 | func main() { |
Rob Pike | 4f61fc9 | 2010-09-04 10:36:13 +1000 | [diff] [blame] | 12 | print("hello, world\n") |
Rob Pike | 126150d | 2008-06-06 13:28:03 -0700 | [diff] [blame] | 13 | } |