summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug316.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/bug316.go')
-rw-r--r--test/fixedbugs/bug316.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fixedbugs/bug316.go b/test/fixedbugs/bug316.go
index bd4d99eb6..2146408a1 100644
--- a/test/fixedbugs/bug316.go
+++ b/test/fixedbugs/bug316.go
@@ -9,7 +9,7 @@
package main
const (
- c = cmplx(1, 2)
+ c = complex(1, 2)
r = real(c) // was: const initializer must be constant
i = imag(c) // was: const initializer must be constant
)