test/fixedbugs/issue68415.go
raw| 1 | // run -gcflags=all=-d=checkptr |
| 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 | package main |
| 8 | |
| 9 | import ( |
| 10 | "regexp" |
| 11 | "unique" |
| 12 | ) |
| 13 | |
| 14 | var dataFileRegexp = regexp.MustCompile(`^data\.\d+\.bin$`) |
| 15 | |
| 16 | func main() { |
| 17 | _ = dataFileRegexp |
| 18 | unique.Make("") |
| 19 | } |