Commit d5c41427 authored by Robert Griesemer's avatar Robert Griesemer

bug209.go

R=rsc
DELTA=23  (22 added, 1 deleted, 0 changed)
OCL=35529
CL=35537
parent 9aa68dbd
// $G $D/$F.go || echo BUG: should compile
// 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() {
var buf [10]int;
for ; len(buf); { // ERROR "bool"
}
}
/*
uetli:/home/gri/go/test/bugs gri$ 6g bug209.go
bug209.go:5: Bus error
*/
......@@ -39,7 +39,6 @@ hello, world
7! = 5040
8! = 40320
9! = 362880
10! = 3628800
=========== ./printbig.go
-9223372036854775808
......@@ -167,3 +166,7 @@ BUG: errchk: bugs/bug193.go:14: missing expected error: 'shift'
too many calls: 5
panic PC=xxx
BUG: bug196
=========== bugs/bug209.go
bugs/bug209.go:11: BUG: should compile
Bus error $G $D/$F.go
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment