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
6bff3725
Commit
6bff3725
authored
Jul 27, 2008
by
Rob Pike
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update tests
R=ken OCL=13507 CL=13507
parent
8fda2e40
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
43 deletions
+15
-43
bug034.go
test/bugs/bug034.go
+0
-12
bug025.go
test/fixedbugs/bug025.go
+1
-1
bug052.go
test/fixedbugs/bug052.go
+0
-0
bug063.go
test/fixedbugs/bug063.go
+0
-0
golden.out
test/golden.out
+14
-30
No files found.
test/bugs/bug034.go
deleted
100644 → 0
View file @
8fda2e40
// 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.
// $G $D/$F.go && echo BUG: compilation succeeds incorrectly
package
main
type
Item
interface
{
Print_BUG
func
();
// BUG no func allowed
}
test/bugs/bug025.go
→
test/
fixed
bugs/bug025.go
View file @
6bff3725
...
...
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//
$G $D/$F.go && echo BUG: bad exit status - should be 1 - plus extra newline in message
//
! $G $D/$F.go
package
main
...
...
test/bugs/bug052.go
→
test/
fixed
bugs/bug052.go
View file @
6bff3725
File moved
test/bugs/bug063.go
→
test/
fixed
bugs/bug063.go
View file @
6bff3725
File moved
test/golden.out
View file @
6bff3725
...
...
@@ -130,10 +130,6 @@ BUG: known to fail incorrectly
=========== bugs/bug015.go
BUG: known to succeed incorrectly
=========== bugs/bug025.go
bugs/bug025.go:7: variable exported but not defined: Foo
BUG: bad exit status - should be 1 - plus extra newline in message
=========== bugs/bug026.go
sys·printstring: main·sigs_I: not defined
BUG: known to fail incorrectly
...
...
@@ -156,9 +152,6 @@ BUG: compilation succeeds incorrectly
=========== bugs/bug033.go
BUG: compilation succeeds incorrectly
=========== bugs/bug034.go
BUG: compilation succeeds incorrectly
=========== bugs/bug041.go
BUG: compilation succeeds incorrectly
...
...
@@ -189,29 +182,16 @@ bugs/bug048.go:7: illegal types for operand: CONV
(MAP[<int32>INT32]<int32>INT32)
BUG: known to fail incorrectly
=========== bugs/bug052.go
=========== bugs/bug053.go
bugs/bug053.go:6: syntax error
BUG: len should not be a keyword
=========== bugs/bug054.go
xxx
. CALL u(100) l(286) <Element>I{}
. . NAME-Vector_At G0 a(1) l(273) 111({},{}){}
. . AS u(1) l(286)
. . . INDREG a(1) l(286) v G0 *<Vector>{}
. . . DOTPTR u(1) l(286) *<Vector>{}
. . . . NAME-s G349 a(1) g(349) l(282) *<TStruct>{}
. . . . NAME-fields G0 a(1) l(279)
. . AS u(1) l(286)
. . . INDREG a(1) l(286) i G350 <int32>INT32
. . . NAME-i G350 a(1) g(350) l(282) <int32>INT32
bugs/bug054.go:25: fatal error: agen_inter i2s
BUG: known to fail incorrectly
=========== bugs/bug057.go
bugs/bug057.go:1
3
: syntax error
bugs/bug057.go:1
4
: syntax error
BUG: compilation should succeed
=========== bugs/bug060.go
...
...
@@ -226,11 +206,6 @@ BUG: known to fail incorrectly
=========== bugs/bug062.go
BUG: known to succeed incorrectly
=========== bugs/bug063.go
bugs/bug063.go:5: illegal combination of literals XOR 7
bugs/bug063.go:5: expression must be a constant
BUG: should compile without problems
=========== bugs/bug064.go
bugs/bug064.go:15: illegal types for operand: CALL
(<int32>INT32)
...
...
@@ -247,10 +222,10 @@ inner loop top i 0
do break
outer loop top k 1
k not zero
panic on line
271
PC=0x1362
panic on line
305
PC=0x1362
0x1362?zi
main·main(1, 0, 160641
6424
, ...)
main·main(0x1, 0x7fff5fbff
828
, 0x0, ...)
main·main(1, 0, 160641
5392
, ...)
main·main(0x1, 0x7fff5fbff
420
, 0x0, ...)
BUG: crashes
=========== bugs/bug072.go
...
...
@@ -272,6 +247,8 @@ BUG: known to fail incorrectly
=========== bugs/bug077.go
BUG: known to succeed incorrectly
=========== bugs/bug078.go
=========== fixedbugs/bug000.go
=========== fixedbugs/bug001.go
...
...
@@ -314,6 +291,9 @@ BUG: known to succeed incorrectly
=========== fixedbugs/bug024.go
=========== fixedbugs/bug025.go
fixedbugs/bug025.go:7: variable exported but not defined: Foo
=========== fixedbugs/bug028.go
=========== fixedbugs/bug030.go
...
...
@@ -330,7 +310,7 @@ fixedbugs/bug035.go:7: var f redeclared in this block
=========== fixedbugs/bug037.go
fixedbugs/bug037.go:6: vlong: undefined
fixedbugs/bug037.go:6: fatal error: addvar: n=NAME-s G0 a(1) l(
267
) t=<T> nil
fixedbugs/bug037.go:6: fatal error: addvar: n=NAME-s G0 a(1) l(
301
) t=<T> nil
=========== fixedbugs/bug038.go
...
...
@@ -355,6 +335,8 @@ sys.6:1 fixedbugs/bug050.go:3: syntax error
=========== fixedbugs/bug051.go
fixedbugs/bug051.go:10: expression must be a constant
=========== fixedbugs/bug052.go
=========== fixedbugs/bug055.go
=========== fixedbugs/bug056.go
...
...
@@ -363,6 +345,8 @@ fixedbugs/bug051.go:10: expression must be a constant
=========== fixedbugs/bug059.go
=========== fixedbugs/bug063.go
=========== fixedbugs/bug065.go
=========== fixedbugs/bug066.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