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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 700 jeremybenn
// $G $D/$F.go || echo "Bug387"
2
 
3
// Copyright 2011 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
// Issue 2549
8
 
9
/*  Used to die with
10
missing typecheck: [7f5bf07b4438]
11
 
12
.   AS l(45)
13
.   .   NAME-main.autotmp_0017 u(1) a(1) l(45) x(0+0) class(PAUTO)
14
esc(N) tc(1) used(1) ARRAY-[2]string
15
internal compiler error: missing typecheck
16
*/
17
package main
18
 
19
import (
20
        "fmt"
21
        "path/filepath"
22
)
23
 
24
func main() {
25
        switch _, err := filepath.Glob(filepath.Join(".", "vnc")); {
26
        case err != nil:
27
                fmt.Println(err)
28
        }
29
}
30
 

powered by: WebSVN 2.1.0

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