compiler: add min and max builtin support

This commit is contained in:
Ayke van Laethem
2023-07-06 22:14:55 +02:00
committed by Ron Evans
parent a93f0ed12a
commit f791c821ff
7 changed files with 250 additions and 0 deletions
+3
View File
@@ -54,6 +54,9 @@ func TestCompiler(t *testing.T) {
if goMinor >= 20 {
tests = append(tests, testCase{"go1.20.go", "", ""})
}
if goMinor >= 21 {
tests = append(tests, testCase{"go1.21.go", "", ""})
}
for _, tc := range tests {
name := tc.file