diff options
Diffstat (limited to 'test/zerodivide.go')
| -rw-r--r-- | test/zerodivide.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/zerodivide.go b/test/zerodivide.go index 3b08e774c..673d1d18d 100644 --- a/test/zerodivide.go +++ b/test/zerodivide.go @@ -1,9 +1,11 @@ -// $G $F.go && $L $F.$A && ./$A.out +// run // Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// Test that zero division causes a panic. + package main import ( |
