summaryrefslogtreecommitdiff
path: root/libgo/go/go/typechecker/testdata/test4.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/go/typechecker/testdata/test4.go')
-rw-r--r--libgo/go/go/typechecker/testdata/test4.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/libgo/go/go/typechecker/testdata/test4.go b/libgo/go/go/typechecker/testdata/test4.go
new file mode 100644
index 000000000..bb9aee3ad
--- /dev/null
+++ b/libgo/go/go/typechecker/testdata/test4.go
@@ -0,0 +1,11 @@
+// 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.
+
+// Constant declarations
+
+package P4
+
+const (
+ c0 /* ERROR "missing initializer" */
+)