src/internal/types/testdata/fixedbugs/issue46090.go
raw| 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" |