Sign in
go
/
talks
/
a07c284bcf333dc17a1489fd441e8fccf1e01c2a
/
.
/
content
/
2014
/
compiling
/
const2.go
blob: 762252fa3b9f107387cda668a8aa0a0760a46915 [
file
] [
log
] [
blame
]
// +build ignore
package main
import "fmt"
// 1 START OMIT
const C1 = 1e+308
const C2 = C1 * 10
const C3 = C2 / 10
var V1 = C1
var V2 = V1 * 10
var V3 = V2 / 10
func main() {
fmt.Println(C3, V3)
}
// 1 END OMIT