diff options
author | Robert Griesemer <gri@golang.org> | 2009-09-15 13:33:16 -0700 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2009-09-15 13:33:16 -0700 |
commit | dca24c6002d89d224d84faef86459f107e07710e (patch) | |
tree | 5c94f75eb970b836db2fd403bde434d54288a6f6 /src/pkg/go | |
parent | c244d0c3f30929f53f8658203bf88aef5d379fc8 (diff) | |
download | golang-dca24c6002d89d224d84faef86459f107e07710e.tar.gz |
fix build: added missing files
TBR=rsc
DELTA=56 (56 added, 0 deleted, 0 changed)
OCL=34652
CL=34652
Diffstat (limited to 'src/pkg/go')
-rw-r--r-- | src/pkg/go/printer/testdata/declarations.go | 28 | ||||
-rw-r--r-- | src/pkg/go/printer/testdata/declarations.golden | 28 |
2 files changed, 56 insertions, 0 deletions
diff --git a/src/pkg/go/printer/testdata/declarations.go b/src/pkg/go/printer/testdata/declarations.go new file mode 100644 index 000000000..309caf3b6 --- /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 000000000..21c3c2b93 --- /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 |