repo.or.cz
/
binutils-gdb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Rename gdb/ChangeLog to gdb/ChangeLog-2021
[binutils-gdb.git]
/
gdb
/
testsuite
/
gdb.go
/
unsafe.go
blob
ac8a6f679ca2d0cabb0e6d1a1c15ff4993e5170a
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
}