1
0
Fork 0
golang-golang-x-mobile/bind/testdata/testpkg/simplepkg/simplepkg.go
Daniel Baumann 20149b7f3a
Adding upstream version 0.0~git20250520.a1d9079+dfsg.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-05-25 10:58:38 +02:00

16 lines
549 B
Go

// Copyright 2016 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package simplepkg is imported from testpkg and tests two
// corner cases.
// First: simplepkg itself contains no (exported) functions
// or methods and so its generated Go package must not import
// it.
//
// Second: even though testpkg imports simplepkg, testpkg's
// generated Go package ends up not referencing simplepkg and
// must not import it.
package simplepkg
type S struct{}