OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [go.test/] [test/] [interface/] [recursive2.go] - Blame information for rev 700

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 700 jeremybenn
// $G $D/recursive1.go && $G $D/$F.go
2
 
3
// Copyright 2012 The Go Authors.  All rights reserved.
4
// Use of this source code is governed by a BSD-style
5
// license that can be found in the LICENSE file.
6
 
7
// Check that the mutually recursive types in recursive1.go made it
8
// intact and with the same meaning, by assigning to or using them.
9
 
10
package main
11
 
12
import "./recursive1"
13
 
14
func main() {
15
        var i1 p.I1
16
        var i2 p.I2
17
        i1 = i2
18
        i2 = i1
19
        i1 = i2.F()
20
        i2 = i1.F()
21
        _, _ = i1, i2
22
}

powered by: WebSVN 2.1.0

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