diff options
Diffstat (limited to 'test/typeparam/pairimp.dir/a.go')
-rw-r--r-- | test/typeparam/pairimp.dir/a.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/typeparam/pairimp.dir/a.go b/test/typeparam/pairimp.dir/a.go new file mode 100644 index 0000000..a984fba --- /dev/null +++ b/test/typeparam/pairimp.dir/a.go @@ -0,0 +1,10 @@ +// 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 a + +type Pair[F1, F2 any] struct { + Field1 F1 + Field2 F2 +} |