github.com/JimmyHuang454/JLS-go@v0.0.0-20230831150107-90d536585ba0/internal/types/testdata/fixedbugs/issue46090.go (about) 1 // -lang=go1.17 2 3 // Copyright 2020 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 // The predeclared type comparable is not visible before Go 1.18. 8 9 package p 10 11 type _ comparable // ERROR predeclared comparable