github.com/bir3/gocompiler@v0.9.2202/src/cmd/cgo/internal/test/issue8828.go (about)

     1  // Copyright 2014 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  //go:build cgo
     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 "github.com/bir3/gocompiler/src/cmd/cgo/internal/test/issue8828"
    13  
    14  func p() {
    15  	issue8828.Bar()
    16  }