1 // $G $D/$F.go && $L $F.$A && ./$A.out || echo BUG: bug341
3 // Copyright 2011 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.
7 // Used to panic because 8g was generating incorrect
8 // code for converting a negative float to a uint64.
19 panic: runtime error: floating point error
21 [signal 0x8 code=0x6 addr=0x8048c64 pc=0x8048c64]