Source file test/fixedbugs/issue6247.go
1 // compile 2 3 // Copyright 2013 The Go Authors. All rights reserved. 4 // Use of this source code is governed by a BSD-style 5 // license that can be found in the LICENSE file. 6 7 // Issue 6247: 5g used to be confused by the numbering 8 // of floating-point registers. 9 10 package main 11 12 var p map[string]interface{} 13 var v interface{} 14 15 func F() { 16 p["hello"] = v.(complex128) * v.(complex128) 17 } 18