Source file misc/cgo/test/testdata/issue8828.go

     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 "cgotest/issue8828"
    13  
    14  func p() {
    15  	issue8828.Bar()
    16  }
    17  

View as plain text