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.
7 // Test simple operations on arrays.
17 for i:=int16(5); i<10; i=i+1 {
22 for i:=5; i<10; i=i+1 {
26 if s1 != 35 { panic(s1); }
28 for i:=int16(5); i<10; i=i+1 {
33 for i:=5; i<10; i=i+1 {
37 if s2 != 35 { panic(s2); }
40 for i:=0; i<100; i=i+1 {
45 for i:=0; i<100; i=i+1 {
49 if s3 != 4950 { panic(s3); }