test: add unused testdata for fix

This commit is contained in:
Aleksandr Razumov 2020-04-27 19:19:12 +03:00
parent c4e40f1968
commit 1353b60074
No known key found for this signature in database
GPG Key ID: 1D14A82D2E311045
2 changed files with 16 additions and 0 deletions

8
test/testdata/fix/in/unused.go vendored Normal file
View File

@ -0,0 +1,8 @@
//args: -Eunused
package p
type (
unused struct{}
)
func X() {}

8
test/testdata/fix/out/unused.go vendored Normal file
View File

@ -0,0 +1,8 @@
//args: -Eunused
package p
type (
unused struct{}
)
func X() {}