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
bbeb2276
Commit
bbeb2276
authored
Jul 29, 2009
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed golden.out, which is what 32496 should have done.
roll back 32496 TBR=austin OCL=32499 CL=32501
parent
3a23da65
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
test/bugs/bug136.go
test/bugs/bug136.go
+8
-1
test/golden.out
test/golden.out
+1
-1
No files found.
test/bugs/bug136.go
View file @
bbeb2276
...
...
@@ -10,6 +10,13 @@ func main() {
L
:
;
// ';' terminates empty statement => L does not apply to for loop
for
i
:=
0
;
i
<
10
;
i
++
{
println
(
i
);
break
L
// L does not apply to for loop
break
L
;
// ERROR "L"
}
L1
:
{
// L1 labels block => L1 does not apply to for loop
for
i
:=
0
;
i
<
10
;
i
++
{
println
(
i
);
break
L1
;
// ERROR "L1"
}
}
}
test/golden.out
View file @
bbeb2276
...
...
@@ -233,7 +233,7 @@ panic PC=xxx
BUG: compilation succeeds incorrectly
=========== bugs/bug136.go
BUG: errchk:
bugs/bug136.go:15: missing expected error: 'L1'
BUG: errchk:
command succeeded unexpectedly
=========== bugs/bug159.go
abc: expected 4 5 6 got 4 4 -4
...
...
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