blob: 6b8d6ce0ad284aa104f4e91db36c7d6d071ada7e [file] [log] [blame]
This test exercises a crash due to treatment of "comparable" in methodset
calculation (golang/go#60544).
-- main.go --
package main
type X struct{}
func (X) test(x comparable) {} //@diag("comparable", re"outside a type constraint")