blob: 1dbdf1474288f3986a56d3f7b102e68446d0de17 [file] [log] [blame]
Andrew Gerrand6cf2ff02013-01-23 17:39:23 +11001package main
2
3import (
4 "fmt"
5 "math/cmplx"
6)
7
8var (
9 ToBe bool = false
10 MaxInt uint64 = 1<<64 - 1
11 z complex128 = cmplx.Sqrt(-5 + 12i)
12)
13
14func main() {
15 const f = "%T(%v)\n"
16 fmt.Printf(f, ToBe, ToBe)
17 fmt.Printf(f, MaxInt, MaxInt)
18 fmt.Printf(f, z, z)
19}