mirror of
https://github.com/golang/go
synced 2024-11-26 08:07:57 -07:00
fix build: added missing files
TBR=rsc DELTA=56 (56 added, 0 deleted, 0 changed) OCL=34652 CL=34652
This commit is contained in:
parent
7f25485fc6
commit
9b5eb305e1
28
src/pkg/go/printer/testdata/declarations.go
vendored
Normal file
28
src/pkg/go/printer/testdata/declarations.go
vendored
Normal file
@ -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
|
28
src/pkg/go/printer/testdata/declarations.golden
vendored
Normal file
28
src/pkg/go/printer/testdata/declarations.golden
vendored
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user