diff options
Diffstat (limited to 'test/func7.go')
-rw-r--r-- | test/func7.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/func7.go b/test/func7.go index 6f6766f29..2d646b678 100644 --- a/test/func7.go +++ b/test/func7.go @@ -17,7 +17,7 @@ func f() int { func g() int { if !calledf { - println("BUG: func7 - called g before f") + panic("BUG: func7 - called g before f") } return 0 } @@ -28,4 +28,3 @@ func main() { panic("wrong answer") } } - |