mirror of
https://github.com/golang/go
synced 2024-11-25 15:17:58 -07:00
3959d54c0b
The function is called in nosplit context already. Fixes #68525 Change-Id: I8b9e324335b7c605d5a20cacdd58df09b7a7cf52 Reviewed-on: https://go-review.googlesource.com/c/go/+/599675 Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Cuong Manh Le <cuong.manhle.vn@gmail.com>
14 lines
273 B
Go
14 lines
273 B
Go
// run -gcflags='all=-N -l'
|
|
|
|
// Copyright 2024 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.
|
|
|
|
package main
|
|
|
|
import "os"
|
|
|
|
func main() {
|
|
os.OpenFile(os.DevNull, os.O_WRONLY, 0)
|
|
}
|