Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
a544938c
Commit
a544938c
authored
Jun 11, 2008
by
Robert Griesemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- added test case
SVN=122159
parent
e8010b38
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
4 deletions
+23
-4
bug046.go
test/bugs/bug046.go
+15
-0
golden.out
test/golden.out
+8
-4
No files found.
test/bugs/bug046.go
0 → 100644
View file @
a544938c
// 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
type
T
*
struct
{}
func
(
x
T
)
M
()
{}
// not clear why this shouldn't work
/*
bug046.go:7: illegal <this> pointer
*/
test/golden.out
View file @
a544938c
...
...
@@ -46,7 +46,6 @@ test0.go:49: illegal types for operand
test0.go:50: error in shape across assignment
test0.go:55: illegal types for operand
(*<Point2>{}) CALLMETH (<Point2>{})
test0.go:54: function call must be single valued (0)
test0.go:54: illegal types for operand
(<Point2>{}) AS ({})
BUG: known to fail incorrectly
...
...
@@ -106,7 +105,8 @@ hello world
=========== ken/simpvar.go
=========== ken/string.go
abcxyz-abcxyz-abcxyz-abcxyz-abcxyz-abcxyz-abcxyz
abcxyz-abcxyz-abcxyz-abcxyz-abcxyz-abcxyz-index 0<12700>6
throw: bounds
=========== ken/strvar.go
...
...
@@ -141,7 +141,7 @@ BUG: known to fail incorrectly
=========== bugs/bug010.go
bugs/bug010.go:7: i undefined
bugs/bug010.go:8: illegal conversion of constant to 020({},<_o1
14
>{},{})
bugs/bug010.go:8: illegal conversion of constant to 020({},<_o1
35
>{},{})
bugs/bug010.go:9: error in shape across assignment
BUG: known to fail incorrectly
...
...
@@ -164,7 +164,7 @@ bugs/bug022.go:8: illegal types for operand
BUG: known to fail incorrectly
=========== bugs/bug023.go
bugs/bug023.go:20: fatal error: naddr: const <Type>I{<TypeName>110(<_t1
17>{},<_o119
>{},{});}
bugs/bug023.go:20: fatal error: naddr: const <Type>I{<TypeName>110(<_t1
38>{},<_o140
>{},{});}
BUG: known to fail incorrectly
=========== bugs/bug025.go
...
...
@@ -240,6 +240,10 @@ BUG: compilation should succeed
bugs/bug045.go:13: fatal error: naddr: const <T>{<i><int32>INT32;}
BUG: known to fail incorrectly
=========== bugs/bug046.go
bugs/bug046.go:7: illegal <this> pointer
BUG: known to fail incorrectly
=========== fixedbugs/bug000.go
=========== fixedbugs/bug005.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