URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [go.go-torture/] [execute/] [expr-1.go] - Rev 698
Compare with Previous | Blame | View Log
package main
func main() {
var v1 = 1;
var v2 = 1;
var v3 = (v1 + v2) / (v1 + v2);
var v4 = (v3 * v3) % (v3 * v3);
if v4 != 0 {
panic(0)
}
}