mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
test: convert more tests to rundir/compiledir conventions
Update #4139. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6609051
This commit is contained in:
parent
5497787d35
commit
46bce2ac27
17 changed files with 324 additions and 295 deletions
|
|
@ -1,17 +1,9 @@
|
|||
// $G $D/$F.dir/pkg.go && $G $D/$F.go || echo "Bug 382"
|
||||
|
||||
// NOTE: This test is not run by 'run.go' and so not run by all.bash.
|
||||
// To run this test you must use the ./run shell script.
|
||||
// compiledir
|
||||
|
||||
// Copyright 2011 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file
|
||||
|
||||
// Issue 2529
|
||||
// Issue 2529.
|
||||
|
||||
package main
|
||||
import "./pkg"
|
||||
|
||||
var x = pkg.E
|
||||
|
||||
var fo = struct {F pkg.T}{F: x}
|
||||
package ignored
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue