Home | History | Annotate | Line # | Download | only in gdb.go
      1 package main
      2 
      3 import ("fmt"
      4         "unsafe")
      5 
      6 var mystring = "Shall we?"
      7 
      8 func main () {
      9   fmt.Printf ("%d\n", unsafe.Sizeof (42))
     10   fmt.Printf ("%d\n", unsafe.Sizeof (mystring))
     11 }
     12