Debian Codegraph @

src/cmd/cgo/internal/testsanitizers/testdata/asan_global5.go

raw
1 // Copyright 2022 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 package main
6
7 import (
8 "fmt"
9 )
10
11 type Any struct {
12 s string
13 b int64
14 }
15
16 var Sg = []interface{}{
17 Any{"a", 10},
18 }
19
20 func main() {
21 fmt.Println(Sg[0])
22 }