Commit ec94a8cf authored by Rob Pike's avatar Rob Pike

add two more tests

SVN=123143
parent 4e8142c9
// errchk $G $D/$F.go
// 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 atom(s string) {
if s == nil {
return;
}
}
/*
bug047.go:4: fatal error: stringpool: not string
*/
// errchk $G $D/$F.go
// 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.
func main() {
}
...@@ -242,6 +242,15 @@ bugs/bug048.go:7: illegal types for operand: CONV ...@@ -242,6 +242,15 @@ bugs/bug048.go:7: illegal types for operand: CONV
bugs/bug048.go:8: syntax error bugs/bug048.go:8: syntax error
BUG: known to fail incorrectly BUG: known to fail incorrectly
=========== bugs/bug049.go
bugs/bug049.go:6: fatal error: stringpool: not string
BUG: fatal error
=========== bugs/bug050.go
bugs/bug050.go:3: package statement must be first
sys.6:1 bugs/bug050.go:2: syntax error
BUG: segfault
=========== fixedbugs/bug000.go =========== fixedbugs/bug000.go
=========== fixedbugs/bug001.go =========== fixedbugs/bug001.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