URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [go.go-torture/] [execute/] [for-1.go] - Rev 698
Compare with Previous | Blame | View Log
package main
func main() {
sum := 0;
for i := 0; i < 10; i++ {
sum += i;
}
if sum != 45 { panic(0) }
}