diff options
Diffstat (limited to 'src/cmd/compile/internal/types2/testdata/go1_8.src')
-rw-r--r-- | src/cmd/compile/internal/types2/testdata/go1_8.src | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/cmd/compile/internal/types2/testdata/go1_8.src b/src/cmd/compile/internal/types2/testdata/go1_8.src new file mode 100644 index 0000000000..0f3ba9443b --- /dev/null +++ b/src/cmd/compile/internal/types2/testdata/go1_8.src @@ -0,0 +1,10 @@ +// Copyright 2021 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// Check Go language version-specific errors. + +package go1_8 // go1.8 + +// type alias declarations +type any /* ERROR type aliases requires go1.9 or later */ = interface{} |