public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-2893] runtime: run gofmt on testdata/testwinsignal/main.go
@ 2021-08-13 0:15 Ian Lance Taylor
0 siblings, 0 replies; only message in thread
From: Ian Lance Taylor @ 2021-08-13 0:15 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:0ace3d4d0afe6cbe84f39e00aa9051bf4187fddc
commit r12-2893-g0ace3d4d0afe6cbe84f39e00aa9051bf4187fddc
Author: Ian Lance Taylor <iant@golang.org>
Date: Thu Aug 12 17:15:16 2021 -0700
runtime: run gofmt on testdata/testwinsignal/main.go
Diff:
---
libgo/go/runtime/testdata/testwinsignal/main.go | 38 ++++++++++++-------------
1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a/libgo/go/runtime/testdata/testwinsignal/main.go b/libgo/go/runtime/testdata/testwinsignal/main.go
index d8cd884ffac..1e7c9475fd6 100644
--- a/libgo/go/runtime/testdata/testwinsignal/main.go
+++ b/libgo/go/runtime/testdata/testwinsignal/main.go
@@ -1,19 +1,19 @@
-package main
-
-import (
- "fmt"
- "os"
- "os/signal"
- "time"
-)
-
-func main() {
- c := make(chan os.Signal, 1)
- signal.Notify(c)
-
- fmt.Println("ready")
- sig := <-c
-
- time.Sleep(time.Second)
- fmt.Println(sig)
-}
+package main
+
+import (
+ "fmt"
+ "os"
+ "os/signal"
+ "time"
+)
+
+func main() {
+ c := make(chan os.Signal, 1)
+ signal.Notify(c)
+
+ fmt.Println("ready")
+ sig := <-c
+
+ time.Sleep(time.Second)
+ fmt.Println(sig)
+}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-08-13 0:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-13 0:15 [gcc r12-2893] runtime: run gofmt on testdata/testwinsignal/main.go Ian Lance Taylor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).