Home | History | Annotate | Download | only in bug466.dir
      1 // Copyright 2012 The Go Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style
      3 // license that can be found in the LICENSE file.
      4 
      5 package a
      6 
      7 const N = 2+3i
      8 
      9 func Func() []complex128 {
     10 	return []complex128{1, complex(2, 3), complex(4, 5)}
     11 }
     12 
     13 func Mul(z complex128) complex128 {
     14 	return z * (3 + 4i)
     15 }
     16