summaryrefslogtreecommitdiff
path: root/test/rename.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/rename.go')
-rw-r--r--test/rename.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/rename.go b/test/rename.go
index e54427455..dc4341718 100644
--- a/test/rename.go
+++ b/test/rename.go
@@ -8,7 +8,10 @@
package main
-import "fmt"
+import (
+ "fmt"
+ "runtime"
+)
func main() {
n :=
@@ -52,6 +55,7 @@ func main() {
iota
if n != NUM*(NUM-1)/2 {
fmt.Println("BUG: wrong n", n, NUM*(NUM-1)/2)
+ runtime.Breakpoint() // panic is inaccessible
}
}