summaryrefslogtreecommitdiffstats
path: root/test/typeparam/issue50481c.dir/main.go
blob: 178542bc380eb3657ffd39d59033d587c5824a33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2022 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.

// Test that type substitution works and export/import works correctly even for a
// generic type that has multiple blank type params.

package main

import (
	"./a"
	"fmt"
)

func main() {
	var x a.T[int, a.Myint, string]
	fmt.Printf("%v\n", x)
}