aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/go/doc/testdata/blank.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/go/doc/testdata/blank.go')
-rw-r--r--libgo/go/go/doc/testdata/blank.go10
1 files changed, 9 insertions, 1 deletions
diff --git a/libgo/go/go/doc/testdata/blank.go b/libgo/go/go/doc/testdata/blank.go
index 419a78f..5ea6186 100644
--- a/libgo/go/go/doc/testdata/blank.go
+++ b/libgo/go/go/doc/testdata/blank.go
@@ -29,7 +29,7 @@ const (
C4
)
-// Constants with an imported type that needs to be propagated.
+// Constants with a single type that is not propagated.
const (
zero os.FileMode = 0
Default = 0644
@@ -37,6 +37,14 @@ const (
WideOpen = 0777
)
+// Constants with an imported type that is propagated.
+const (
+ zero os.FileMode = 0
+ M1
+ M2
+ M3
+)
+
// Package constants.
const (
_ int = iota