aboutsummaryrefslogtreecommitdiff
path: root/libgo/go
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2021-05-18 18:28:17 -0700
committerIan Lance Taylor <iant@golang.org>2021-05-18 18:28:17 -0700
commit39ed6a88c74db5412652f0167d03f71eca4f02fc (patch)
treece7d57b2ebddffe47302ac36a784bde0fbb24672 /libgo/go
parent01b2864757540d24c4e717a77b40b29369c064b2 (diff)
downloadgcc-39ed6a88c74db5412652f0167d03f71eca4f02fc.zip
gcc-39ed6a88c74db5412652f0167d03f71eca4f02fc.tar.gz
gcc-39ed6a88c74db5412652f0167d03f71eca4f02fc.tar.bz2
libgo: use Windows line endings in testwinsignal
Diffstat (limited to 'libgo/go')
-rw-r--r--libgo/go/runtime/testdata/testwinsignal/main.go38
1 files changed, 19 insertions, 19 deletions
diff --git a/libgo/go/runtime/testdata/testwinsignal/main.go b/libgo/go/runtime/testdata/testwinsignal/main.go
index 1e7c947..d8cd884 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)
+}