]> Cypherpunks repositories - gostls13.git/commit
[dev.typeparams] cmd/compile/internal/syntax: add type parameter tests
authorRobert Griesemer <gri@golang.org>
Sun, 11 Oct 2020 00:02:15 +0000 (17:02 -0700)
committerRobert Griesemer <gri@golang.org>
Tue, 13 Oct 2020 04:39:31 +0000 (04:39 +0000)
commit7668f02dec44690ee61722f08b2d80b5b0c5eccd
treea494c14ae85012046c7bc58634574bfa2b19c20c
parentb627988b0ca748a73867ba5fc4cfc70031c028d2
[dev.typeparams] cmd/compile/internal/syntax: add type parameter tests

The file endings are not .go so that gofmt leaves these files alone.
They are also not .src to distinguish them from regular go source tests.

Change-Id: I741f5c037bad1ea9d6f7fda3673487d0be631350
Reviewed-on: https://go-review.googlesource.com/c/go/+/261219
Trust: Robert Griesemer <gri@golang.org>
Run-TryBot: Robert Griesemer <gri@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/syntax/parser_test.go
src/cmd/compile/internal/syntax/testdata/go2/chans.go2 [new file with mode: 0644]
src/cmd/compile/internal/syntax/testdata/go2/linalg.go2 [new file with mode: 0644]
src/cmd/compile/internal/syntax/testdata/go2/map.go2 [new file with mode: 0644]
src/cmd/compile/internal/syntax/testdata/go2/map2.go2 [new file with mode: 0644]
src/cmd/compile/internal/syntax/testdata/go2/slices.go2 [new file with mode: 0644]
src/cmd/compile/internal/syntax/testdata/go2/smoketest.go2 [new file with mode: 0644]
src/cmd/compile/internal/syntax/testdata/go2/typeinst.go2 [new file with mode: 0644]
src/cmd/compile/internal/syntax/testdata/go2/typeinst2.go2 [new file with mode: 0644]
src/cmd/compile/internal/syntax/testdata/go2/typeparams.go2 [new file with mode: 0644]