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
6426659d
Commit
6426659d
authored
Jul 17, 2008
by
Rob Pike
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update tests
SVN=127826
parent
30a39e8f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
31 deletions
+31
-31
bug055.go
test/fixedbugs/bug055.go
+0
-0
bug069.go
test/fixedbugs/bug069.go
+2
-2
golden.out
test/golden.out
+29
-29
No files found.
test/bugs/bug055.go
→
test/
fixed
bugs/bug055.go
View file @
6426659d
File moved
test/bugs/bug069.go
→
test/
fixed
bugs/bug069.go
View file @
6426659d
...
...
@@ -11,8 +11,8 @@ func main(){
ok
:=
false
;
i
:=
0
;
i
,
ok
=
<
c
;
// works
i
,
ok
=
<
-
c
;
// works
ca
:=
new
([
2
]
*
chan
int
);
i
,
ok
=
<
(
ca
[
0
]);
// fails: c.go:11: bad shape across assignment - cr=1 cl=2
i
,
ok
=
<
-
(
ca
[
0
]);
// fails: c.go:11: bad shape across assignment - cr=1 cl=2
}
test/golden.out
View file @
6426659d
...
...
@@ -116,6 +116,9 @@ abcxyz-abcxyz-abcxyz-abcxyz-abcxyz-abcxyz-abcxyz
=========== chan/fifo.go
=========== chan/nonblock.go
PASS
=========== chan/sieve.go
=========== bugs/bug010.go
...
...
@@ -127,7 +130,6 @@ 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
...
...
@@ -186,17 +188,17 @@ bugs/bug048.go:7: illegal types for operand: CONV
BUG: known to fail incorrectly
=========== bugs/bug049.go
getu
: main·.stringo: not defined
enqueue
: main·.stringo: not defined
BUG: link failure
=========== bugs/bug052.go
SIGSEGV: segmentation violation
Faulting address: 0x1
pc: 0x134
9
pc: 0x134
6
0x134
9
?zi
main·main(1, 0, 160641
6456
, ...)
main·main(0x1, 0x7fff5fbff
848, 0x1
, ...)
0x134
6
?zi
main·main(1, 0, 160641
4968
, ...)
main·main(0x1, 0x7fff5fbff
278, 0x0
, ...)
BUG: incorrect code for division
...
...
@@ -206,23 +208,19 @@ BUG: len should not be a keyword
=========== bugs/bug054.go
xxx
. CALL u(100) l(2
29
) <Element>I{}
. . NAME-Vector_At G0 a(1) l(2
16
) 111({},{}){}
. . AS u(1) l(2
29
)
. . . INDREG a(1) l(2
29
) v G0 *<Vector>{}
. . . DOTPTR u(1) l(2
29
) *<Vector>{}
. . . . NAME-s G
279 a(1) g(279) l(225
) *<TStruct>{}
. . . . NAME-fields G0 a(1) l(2
22
)
. . AS u(1) l(2
29
)
. . . INDREG a(1) l(2
29) i G28
0 <int32>INT32
. . . NAME-i G
280 a(1) g(280) l(225
) <int32>INT32
. CALL u(100) l(2
86
) <Element>I{}
. . NAME-Vector_At G0 a(1) l(2
73
) 111({},{}){}
. . AS u(1) l(2
86
)
. . . INDREG a(1) l(2
86
) v G0 *<Vector>{}
. . . DOTPTR u(1) l(2
86
) *<Vector>{}
. . . . NAME-s G
349 a(1) g(349) l(282
) *<TStruct>{}
. . . . NAME-fields G0 a(1) l(2
79
)
. . AS u(1) l(2
86
)
. . . INDREG a(1) l(2
86) i G35
0 <int32>INT32
. . . NAME-i G
350 a(1) g(350) l(282
) <int32>INT32
bugs/bug054.go:25: fatal error: agen_inter i2s
BUG: known to fail incorrectly
=========== bugs/bug055.go
bugs/bug055.go:15: fatal error: allocparams: out class
BUG: known to fail incorrectly
=========== bugs/bug057.go
bugs/bug057.go:13: syntax error
BUG: compilation should succeed
...
...
@@ -259,23 +257,21 @@ BUG: compilation should succeed
bugs/bug068.go:6: unknown escape sequence: '
BUG: compilation should succeed
=========== bugs/bug069.go
bugs/bug069.go:12: bad shape across assignment - cr=1 cl=2
BUG: compilation should succeed
=========== bugs/bug070.go
outer loop top k 0
inner loop top i 0
do break
outer loop top k 1
k not zero
panic on line 2
57
PC=0x1362
panic on line 2
71
PC=0x1362
0x1362?zi
main·main(1, 0, 160641
544
0, ...)
main·main(0x1, 0x7fff5fbff
45
0, 0x0, ...)
main·main(1, 0, 160641
496
0, ...)
main·main(0x1, 0x7fff5fbff
27
0, 0x0, ...)
BUG: crashes
=========== bugs/bug071.go
BUG: compiler crashes
=========== fixedbugs/bug000.go
=========== fixedbugs/bug001.go
...
...
@@ -334,7 +330,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(2
10
) t=<T> nil
fixedbugs/bug037.go:6: fatal error: addvar: n=NAME-s G0 a(1) l(2
67
) t=<T> nil
=========== fixedbugs/bug038.go
...
...
@@ -357,6 +353,8 @@ sys.6:1 fixedbugs/bug050.go:3: syntax error
=========== fixedbugs/bug051.go
fixedbugs/bug051.go:10: expression must be a constant
=========== fixedbugs/bug055.go
=========== fixedbugs/bug056.go
=========== fixedbugs/bug058.go
...
...
@@ -364,3 +362,5 @@ fixedbugs/bug051.go:10: expression must be a constant
=========== fixedbugs/bug059.go
=========== fixedbugs/bug065.go
=========== fixedbugs/bug069.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