Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(886)

Unified Diff: test/declbad.go

Issue 6560063: code review 6560063: test: match gccgo error messages (Closed)
Patch Set: diff -r 0a0a751f0b74 https://go.googlecode.com/hg/ Created 12 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/ddd1.go ('k') | test/fixedbugs/bug223.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/declbad.go
===================================================================
--- a/test/declbad.go
+++ b/test/declbad.go
@@ -41,8 +41,9 @@
{
// multiline no new variables
i := f1
- i := func() int { // ERROR "redeclared|no new|incompatible"
+ i := func() { // ERROR "redeclared|no new|incompatible"
}
+ _ = i
}
{
// single redeclaration
« no previous file with comments | « test/ddd1.go ('k') | test/fixedbugs/bug223.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b