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] - Rev 719

Go to most recent revision | 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)
  }
}

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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