aboutsummaryrefslogtreecommitdiffhomepage
path: root/compiler/compiler_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/compiler_test.go')
-rw-r--r--compiler/compiler_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/compiler_test.go b/compiler/compiler_test.go
index 9675c4028..92ce31b01 100644
--- a/compiler/compiler_test.go
+++ b/compiler/compiler_test.go
@@ -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