blob: 95318bd6d7878200c21ce42c9b2b633865b47543 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
package main
import ("fmt"
"unsafe")
var mystring = "Shall we?"
func main () {
fmt.Printf ("%d\n", unsafe.Sizeof (42)) // set breakpoint 1 here
fmt.Printf ("%d\n", unsafe.Sizeof (mystring))
}
|