1 2 3 4 5
package generated func _() { var x int //@diag("x", "compiler", "x declared (and|but) not used", "error") }