compiler: add generics test case

This test case shows a few bugs, that I will fix in subsequent patches.
This commit is contained in:
Ayke van Laethem
2022-07-28 13:21:20 +02:00
committed by Ron Evans
parent 58072a5167
commit 408855da14
3 changed files with 168 additions and 0 deletions
+3
View File
@@ -65,6 +65,9 @@ func TestCompiler(t *testing.T) {
if goMinor >= 17 {
tests = append(tests, testCase{"go1.17.go", "", ""})
}
if goMinor >= 18 {
tests = append(tests, testCase{"generics.go", "", ""})
}
for _, tc := range tests {
name := tc.file