mirror of
https://github.com/golang/go
synced 2024-11-25 11:17:56 -07:00
update tests
SVN=127826
This commit is contained in:
parent
30a39e8f29
commit
6426659db9
@ -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
|
||||
}
|
@ -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: 0x1349
|
||||
pc: 0x1346
|
||||
|
||||
0x1349?zi
|
||||
main·main(1, 0, 1606416456, ...)
|
||||
main·main(0x1, 0x7fff5fbff848, 0x1, ...)
|
||||
0x1346?zi
|
||||
main·main(1, 0, 1606414968, ...)
|
||||
main·main(0x1, 0x7fff5fbff278, 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(229) <Element>I{}
|
||||
. . NAME-Vector_At G0 a(1) l(216) 111({},{}){}
|
||||
. . AS u(1) l(229)
|
||||
. . . INDREG a(1) l(229) v G0 *<Vector>{}
|
||||
. . . DOTPTR u(1) l(229) *<Vector>{}
|
||||
. . . . NAME-s G279 a(1) g(279) l(225) *<TStruct>{}
|
||||
. . . . NAME-fields G0 a(1) l(222)
|
||||
. . AS u(1) l(229)
|
||||
. . . INDREG a(1) l(229) i G280 <int32>INT32
|
||||
. . . NAME-i G280 a(1) g(280) l(225) <int32>INT32
|
||||
. 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/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 257 PC=0x1362
|
||||
panic on line 271 PC=0x1362
|
||||
0x1362?zi
|
||||
main·main(1, 0, 1606415440, ...)
|
||||
main·main(0x1, 0x7fff5fbff450, 0x0, ...)
|
||||
main·main(1, 0, 1606414960, ...)
|
||||
main·main(0x1, 0x7fff5fbff270, 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(210) t=<T> nil
|
||||
fixedbugs/bug037.go:6: fatal error: addvar: n=NAME-s G0 a(1) l(267) 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
|
||||
|
Loading…
Reference in New Issue
Block a user