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 677e080 commit 1f0c044Copy full SHA for 1f0c044
test/fixedbugs/issue68734.go
@@ -0,0 +1,17 @@
1
+// compile
2
+
3
+// Copyright 2024 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
+// The gofrontend had a bug handling panic of an untyped constant expression.
8
9
+package issue68734
10
11
+func F1() {
12
+ panic(1 + 2)
13
+}
14
15
+func F2() {
16
+ panic("a" + "b")
17
0 commit comments