Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
ec94a8cf
Commit
ec94a8cf
authored
Jun 17, 2008
by
Rob Pike
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add two more tests
SVN=123143
parent
4e8142c9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
0 deletions
+34
-0
test/bugs/bug049.go
test/bugs/bug049.go
+17
-0
test/bugs/bug050.go
test/bugs/bug050.go
+8
-0
test/golden.out
test/golden.out
+9
-0
No files found.
test/bugs/bug049.go
0 → 100644
View file @
ec94a8cf
// 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
*/
test/bugs/bug050.go
0 → 100644
View file @
ec94a8cf
// 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
()
{
}
test/golden.out
View file @
ec94a8cf
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment