test: use run.go for more tests.

R=golang-dev, alex.brainman, minux.ma
CC=golang-dev
https://golang.org/cl/6443110
This commit is contained in:
Rémy Oudompheng 2012-08-25 10:16:02 +02:00
parent 74c6325142
commit a85fa33ece
11 changed files with 20 additions and 19 deletions

View file

@ -1,4 +1,4 @@
// $G $D/$F.go && $L $F.$A && ./$A.out >/dev/null 2>&1 || echo BUG: bug206
// cmpout
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style

View file

@ -0,0 +1,2 @@
0
0

View file

@ -1,4 +1,4 @@
// $G $D/$F.dir/chanbug.go && $G -I. $D/$F.dir/chanbug2.go
// compiledir
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style

View file

@ -4,6 +4,8 @@
package a
import "./b"
type T interface{}
var Bar = b.Foo
func f() T { return nil }
var Foo T = f()

View file

@ -4,8 +4,6 @@
package b
type T interface{}
import "./a"
func f() T { return nil }
var Foo T = f()
var Bar = a.Foo

View file

@ -1,5 +1,4 @@
// $G $D/$F.dir/b.go && $G $D/$F.dir/a.go
// rm -f a.$A b.$A
// compiledir
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
@ -7,4 +6,4 @@
// Issue 1705.
unused (see script at top of file)
package ignored

View file

@ -5,7 +5,7 @@
// Use the functions in one.go so that the inlined
// forms get type-checked.
package two
package pkg2
import "./one"

View file

@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Use the functions in one.go so that the inlined
// Use the functions in pkg2.go so that the inlined
// forms get type-checked.
package three
package pkg3
import "./two"
import "./pkg2"
var x = two.F()
var v = two.V
var x = pkg2.F()
var v = pkg2.V

View file

@ -1,4 +1,4 @@
// $G $D/$F.dir/one.go && $G $D/$F.dir/two.go && $G $D/$F.dir/three.go
// compiledir
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style

View file

@ -1,4 +1,4 @@
// $G $D/$F.dir/p.go && $G $D/$F.dir/main.go
// compiledir
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style