summaryrefslogtreecommitdiffstats
path: root/src/cmd/compile/internal/syntax/testdata/issue20789.go
blob: 0d5988b9a608c21316be48ba481f5f81a4994985 (plain)
1
2
3
4
5
6
7
8
9
// Copyright 2018 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.

// Make sure this doesn't crash the compiler.
// Line 9 must end in EOF for this test (no newline).

package e
func([<-chan<-[func /* ERROR unexpected u */ u){go