fork download
  1. package main
  2.  
  3. import "fmt"
  4.  
  5. func main() {
  6. fmt.Println("a = \n")
  7. a := 100
  8. fmt.Println(a)
  9. a += 99999999999
  10. fmt.Println("new a = \n")
  11. fmt.Println(a)
  12. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
# command-line-arguments
./prog.go:9: constant 99999999999 overflows int
stdout
Standard output is empty