diff options
Diffstat (limited to 'test/ken/simpswitch.go')
-rw-r--r-- | test/ken/simpswitch.go | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/test/ken/simpswitch.go b/test/ken/simpswitch.go deleted file mode 100644 index ab5dd356b..000000000 --- a/test/ken/simpswitch.go +++ /dev/null @@ -1,24 +0,0 @@ -// $G $D/$F.go && $L $F.$A && ./$A.out - -// 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. - -package main - -func -main() { - a := 3; - for i:=0; i<10; i=i+1 { - switch(i) { - case 5: - print("five"); - case a,7: - print("a"); - default: - print(i); - } - print("out", i); - } - print("\n"); -} |