github.com/gagliardetto/golang-go@v0.0.0-20201020153340-53909ea70814/cmd/compile/internal/syntax/testdata/issue20789.src (about)

     1  // Copyright 2018 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  // Make sure this doesn't crash the compiler.
     6  // Line 9 must end in EOF for this test (no newline).
     7  
     8  package e
     9  func([<-chan<-[func /* ERROR unexpected u */ u){go /* ERROR must be function call */