diff options
-rw-r--r-- | test/nilptr2.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/nilptr2.go b/test/nilptr2.go index 57a5f8068..250a0ee6a 100644 --- a/test/nilptr2.go +++ b/test/nilptr2.go @@ -6,6 +6,8 @@ package main +import "os" + func main() { ok := true for _, tt := range tests { @@ -21,6 +23,7 @@ func main() { } if !ok { println("BUG") + os.Exit(1) } } |