]> Cypherpunks.ru repositories - gostls13.git/blob - test/fixedbugs/bug387.go
cmd/compile/internal/inline: score call sites exposed by inlines
[gostls13.git] / test / fixedbugs / bug387.go
1 // compile
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