Initial commit: Go 1.23 release state
This commit is contained in:
17
test/fixedbugs/issue8076.go
Normal file
17
test/fixedbugs/issue8076.go
Normal file
@@ -0,0 +1,17 @@
|
||||
// compile
|
||||
|
||||
// Copyright 2014 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// Issue 8076. nilwalkfwd walked forward forever
|
||||
// on the instruction loop following the dereference.
|
||||
|
||||
package main
|
||||
|
||||
func main() {
|
||||
_ = *(*int)(nil)
|
||||
L:
|
||||
_ = 0
|
||||
goto L
|
||||
}
|
||||
Reference in New Issue
Block a user