summaryrefslogtreecommitdiff
path: root/src/pkg/go/typechecker/testdata/test1.src
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/go/typechecker/testdata/test1.src')
-rw-r--r--src/pkg/go/typechecker/testdata/test1.src13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/pkg/go/typechecker/testdata/test1.src b/src/pkg/go/typechecker/testdata/test1.src
new file mode 100644
index 000000000..b5531fb9f
--- /dev/null
+++ b/src/pkg/go/typechecker/testdata/test1.src
@@ -0,0 +1,13 @@
+// Copyright 2010 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.
+
+// const and var declarations
+
+package P1
+
+const (
+ c1 = 0
+ c2 int = 0
+ c3, c4 = 0
+)