github.com/mdempsky/go@v0.0.0-20151201204031-5dd372bd1e70/misc/cgo/test/issue8828.go (about)

     1  // compile
     2  
     3  // Copyright 2014 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 8828: compiling a file with -compiler=gccgo fails if a .c file
     8  // has the same name as compiled directory.
     9  
    10  package cgotest
    11  
    12  import "./issue8828"
    13  
    14  func p() {
    15  	issue8828.Bar()
    16  }