1
0
mirror of https://github.com/golang/go synced 2024-11-05 20:36:10 -07:00
go/test/printbig.go
Russ Cox 68209ed5e3 fix printing of -(1<<63)
R=r
OCL=15441
CL=15445
2008-09-17 14:08:52 -07:00

13 lines
275 B
Go

// $G $F.go && $L $F.$A && ./$A.out
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package main
func main() {
print(-(1<<63), "\n");
print((1<<63)-1, "\n")
}