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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 700 jeremybenn
// $G $D/$F.go
2
 
3
// Copyright 2009 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 when import gives multiple names
8
// to a type, they're still all the same type
9
 
10
package main
11
 
12
import _os_ "os"
13
import "os"
14
import . "os"
15
 
16
func f(e *os.File)
17
 
18
func main() {
19
        var _e_ *_os_.File
20
        var dot *File
21
 
22
        f(_e_)
23
        f(dot)
24
}

powered by: WebSVN 2.1.0

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