modernc.org/gc@v1.0.1-0.20240304020402-f0dba7c97c2b/testdata/errchk/test/fixedbugs/bug083.dir/bug1.go (about)

     1  // Copyright 2009 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  package bug1
     6  
     7  import "./bug0"
     8  
     9  // This is expected to fail--t0 is in package bug0 and should not be
    10  // visible here in package bug1.  The test for failure is in
    11  // ../bug083.go.
    12  
    13  var v1 bug0.t0;	// ERROR "bug0"
    14