From b8f946fc83dce284d502293bf4a031b3f648a1f1 Mon Sep 17 00:00:00 2001 From: tdakkota Date: Tue, 26 Nov 2024 00:49:38 +0300 Subject: [PATCH] test: add generics test --- testdata/generic_name.go | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 testdata/generic_name.go diff --git a/testdata/generic_name.go b/testdata/generic_name.go new file mode 100644 index 0000000..dd67528 --- /dev/null +++ b/testdata/generic_name.go @@ -0,0 +1,7 @@ +package testdata + +func _[TеstGeneric any]() { // want `identifier "TеstGeneric" contain non-ASCII character: U\+0435 'е'` +} + +type _[TеstGeneric any] struct { // want `identifier "TеstGeneric" contain non-ASCII character: U\+0435 'е'` +}