testsuite, mi: avoid a clang bug in 'user-selected-context-sync.exp'
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.go / unsafe.go
CommitLineData
a766d390
DE
1package main
2
3import ("fmt"
4 "unsafe")
5
6var mystring = "Shall we?"
7
8func main () {
04ff1e61 9 fmt.Printf ("%d\n", unsafe.Sizeof (42))
a766d390
DE
10 fmt.Printf ("%d\n", unsafe.Sizeof (mystring))
11}
This page took 1.082983 seconds and 4 git commands to generate.