...

Source file src/internal/types/testdata/check/go1_8.go

Documentation: internal/types/testdata/check

     1  // -lang=go1.8
     2  
     3  // Copyright 2021 The Go Authors. All rights reserved.
     4  // Use of this source code is governed by a BSD-style
     5  // license that can be found in the LICENSE file.
     6  
     7  // Check Go language version-specific errors.
     8  
     9  package p
    10  
    11  // type alias declarations
    12  type any = /* ERROR "type alias requires go1.9 or later" */ interface{}
    13  

View as plain text