summaryrefslogtreecommitdiffstats
path: root/libgo
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
parentc++: ICE with bad definition of decimal32 [PR100261] (diff)
downloadgcc-39ed6a88c74db5412652f0167d03f71eca4f02fc.tar.gz
gcc-39ed6a88c74db5412652f0167d03f71eca4f02fc.tar.bz2
gcc-39ed6a88c74db5412652f0167d03f71eca4f02fc.tar.xz
libgo: use Windows line endings in testwinsignal
Diffstat (limited to 'libgo')
-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 1e7c9475fd6..d8cd884ffac 100644
--- a/libgo/go/runtime/testdata/testwinsignal/main.go
+++ b/libgo/go/runtime/testdata/testwinsignal/main.go
@@ -1,19 +1,19 @@
1package main 1package main
2 2
3import ( 3import (
4 "fmt" 4 "fmt"
5 "os" 5 "os"
6 "os/signal" 6 "os/signal"
7 "time" 7 "time"
8) 8)
9 9
10func main() { 10func main() {
11 c := make(chan os.Signal, 1) 11 c := make(chan os.Signal, 1)
12 signal.Notify(c) 12 signal.Notify(c)
13 13
14 fmt.Println("ready") 14 fmt.Println("ready")
15 sig := <-c 15 sig := <-c
16 16
17 time.Sleep(time.Second) 17 time.Sleep(time.Second)
18 fmt.Println(sig) 18 fmt.Println(sig)
19} 19}