OpenCores
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] - Blame information for rev 698

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 698 jeremybenn
package main
2
 
3
func main() {
4
  var v1 = 1;
5
  var v2 = 1;
6
  var v3 = (v1 + v2) / (v1 + v2);
7
  var v4 = (v3 * v3) % (v3 * v3);
8
  if v4 != 0 {
9
    panic(0)
10
  }
11
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.