Skip to content

Commit be9c955

Browse files
ianlancetaylorjproberts
authored andcommitted
test: add test of incorrect gofrontend error
For golang#50439 Change-Id: Ifad6e6f8de42121c695b5a4dc56e0f6606e2917e Reviewed-on: https://go-review.googlesource.com/c/go/+/375796 Trust: Ian Lance Taylor <[email protected]> Run-TryBot: Ian Lance Taylor <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Than McIntosh <[email protected]> Trust: Than McIntosh <[email protected]> Reviewed-by: Cherry Mui <[email protected]>
1 parent 067eb20 commit be9c955

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

test/fixedbugs/issue50439.go

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// compile
2+
3+
// Copyright 2022 The Go Authors. All rights reserved.
4+
// Use of this source code is governed by a BSD-style
5+
// license that can be found in the LICENSE file.
6+
7+
package p
8+
9+
var data []struct {
10+
F string `tag`
11+
}
12+
13+
var V = ([]struct{ F string })(data)

0 commit comments

Comments
 (0)