diff options
Diffstat (limited to 'gcc/testsuite/go.test/test/escape.go')
-rw-r--r-- | gcc/testsuite/go.test/test/escape.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/go.test/test/escape.go b/gcc/testsuite/go.test/test/escape.go index e8ede52760a..252a1e59cc8 100644 --- a/gcc/testsuite/go.test/test/escape.go +++ b/gcc/testsuite/go.test/test/escape.go @@ -52,9 +52,11 @@ func chk(p, q *int, v int, s string) { func chkalias(p, q *int, v int, s string) { if p != q { println("want aliased pointers but got different after", s) + bad = true } if *q != v+1 { println("wrong value want", v+1, "got", *q, "after", s) + bad = true } } |