Skip to content

Commit b8f946f

Browse files
committed
test: add generics test
1 parent e9b9670 commit b8f946f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

testdata/generic_name.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
package testdata
2+
3+
func _[TеstGeneric any]() { // want `identifier "TеstGeneric" contain non-ASCII character: U\+0435 'е'`
4+
}
5+
6+
type _[TеstGeneric any] struct { // want `identifier "TеstGeneric" contain non-ASCII character: U\+0435 'е'`
7+
}

0 commit comments

Comments
 (0)