From: Robert Griesemer Date: Tue, 15 Sep 2009 20:33:16 +0000 (-0700) Subject: fix build: added missing files X-Git-Tag: weekly.2009-11-06~577 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=9b5eb305e103d640a748f83a24f7631c0cdb5829;p=gostls13.git fix build: added missing files TBR=rsc DELTA=56 (56 added, 0 deleted, 0 changed) OCL=34652 CL=34652 --- diff --git a/src/pkg/go/printer/testdata/declarations.go b/src/pkg/go/printer/testdata/declarations.go new file mode 100644 index 0000000000..309caf3b61 --- /dev/null +++ b/src/pkg/go/printer/testdata/declarations.go @@ -0,0 +1,28 @@ +// Copyright 2009 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. + +package imports + +import "io" + +import ( + a "io" +) + +import a "io" + +import ( + "io"; + "io"; + "io"; +) + +import ( + "io"; + aLongRename "io"; + b "io"; + c "i" "o"; +) + +// TODO(gri) add more test cases diff --git a/src/pkg/go/printer/testdata/declarations.golden b/src/pkg/go/printer/testdata/declarations.golden new file mode 100644 index 0000000000..21c3c2b930 --- /dev/null +++ b/src/pkg/go/printer/testdata/declarations.golden @@ -0,0 +1,28 @@ +// Copyright 2009 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. + +package imports + +import "io" + +import ( + a "io"; +) + +import a "io" + +import ( + "io"; + "io"; + "io"; +) + +import ( + "io"; + aLongRename "io"; + b "io"; + c "i" "o"; +) + +// TODO(gri) add more test cases