summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug176.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/bug176.go')
-rw-r--r--test/fixedbugs/bug176.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fixedbugs/bug176.go b/test/fixedbugs/bug176.go
index 82f8dba0a..ea3a90974 100644
--- a/test/fixedbugs/bug176.go
+++ b/test/fixedbugs/bug176.go
@@ -9,6 +9,6 @@ package main
var x int
var a = []int{ x: 1} // ERROR "constant"
-var b = [...]int{ x : 1} // ERROR "constant"
+var b = [...]int{x: 1}
var c = map[int]int{ x: 1}