// Copyright 2020 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 "./a" | |
type S = a.S | |
func F1[T any](T) {} | |
func F2() { F1(S[string]{}) } | |
func F3() { F1[S[string]](S[string]{}) } | |
func main() { | |
F2() | |
F3() | |
} |