URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [go.go-torture/] [execute/] [return-2.go] - Rev 698
Compare with Previous | Blame | View Log
package main
func fn() (i, j int) {
i = 1;
j = 2;
return;
}
func main() {
var i, j = fn();
var ret int;
if i == 1 && j == 2 {
ret = 0;
} else {
ret = 1;
}
if ret != 0 { panic(0) }
}