mirror of
https://github.com/golang/go
synced 2024-11-25 00:07:56 -07:00
add two more tests
SVN=123143
This commit is contained in:
parent
4e8142c929
commit
ec94a8cfc9
17
test/bugs/bug049.go
Normal file
17
test/bugs/bug049.go
Normal file
@ -0,0 +1,17 @@
|
||||
// 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
|
||||
*/
|
8
test/bugs/bug050.go
Normal file
8
test/bugs/bug050.go
Normal file
@ -0,0 +1,8 @@
|
||||
// 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
|
||||
bugs/bug048.go:8: syntax error
|
||||
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/bug001.go
|
||||
|
Loading…
Reference in New Issue
Block a user