We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd25a3a commit a6f564cCopy full SHA for a6f564c
test/fixedbugs/issue55242.go
@@ -0,0 +1,18 @@
1
+// compile
2
+
3
+// Copyright 2023 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
+// Issue 55242: gofrontend crash calling function that returns
8
+// trailing empty struct.
9
10
+package p
11
12
+func F1() (int, struct{}) {
13
+ return 0, struct{}{}
14
+}
15
16
+func F2() {
17
+ F1()
18
0 commit comments