mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-14 07:53:40 +00:00
compiler: add generics test case
This test case shows a few bugs, that I will fix in subsequent patches.
This commit is contained in:
committed by
Ron Evans
parent
58072a5167
commit
408855da14
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user