summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug351.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/bug351.go')
-rw-r--r--test/fixedbugs/bug351.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/fixedbugs/bug351.go b/test/fixedbugs/bug351.go
index c33e28271..2f631bbbb 100644
--- a/test/fixedbugs/bug351.go
+++ b/test/fixedbugs/bug351.go
@@ -6,6 +6,8 @@
package main
+var x int
+
func main() {
(x) := 0 // ERROR "non-name [(]x[)]"
}