diff options
Diffstat (limited to 'test/typeparam/issue48185a.dir/p_test.go')
-rw-r--r-- | test/typeparam/issue48185a.dir/p_test.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/typeparam/issue48185a.dir/p_test.go b/test/typeparam/issue48185a.dir/p_test.go new file mode 100644 index 0000000..a89d697 --- /dev/null +++ b/test/typeparam/issue48185a.dir/p_test.go @@ -0,0 +1,11 @@ +// Copyright 2021 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 main + +import "./p" + +func main() { + _ = p.MarshalFuncV1[int](func(int) ([]byte, error) { return nil, nil }) +} |