]> Cypherpunks repositories - gostls13.git/commitdiff
fix build: added missing files
authorRobert Griesemer <gri@golang.org>
Tue, 15 Sep 2009 20:33:16 +0000 (13:33 -0700)
committerRobert Griesemer <gri@golang.org>
Tue, 15 Sep 2009 20:33:16 +0000 (13:33 -0700)
TBR=rsc
DELTA=56  (56 added, 0 deleted, 0 changed)
OCL=34652
CL=34652

src/pkg/go/printer/testdata/declarations.go [new file with mode: 0644]
src/pkg/go/printer/testdata/declarations.golden [new file with mode: 0644]

diff --git a/src/pkg/go/printer/testdata/declarations.go b/src/pkg/go/printer/testdata/declarations.go
new file mode 100644 (file)
index 0000000..309caf3
--- /dev/null
@@ -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 (file)
index 0000000..21c3c2b
--- /dev/null
@@ -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