diff options
Diffstat (limited to 'testdata')
-rw-r--r-- | testdata/print.go | 4 | ||||
-rw-r--r-- | testdata/print.txt | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/testdata/print.go b/testdata/print.go index 2b5f0a093..7f7f843c4 100644 --- a/testdata/print.go +++ b/testdata/print.go @@ -45,4 +45,8 @@ func main() { // print bool println(true, false) + + // print slice + println([]byte(nil)) + println([]int(nil)) } diff --git a/testdata/print.txt b/testdata/print.txt index 372eda959..116de945d 100644 --- a/testdata/print.txt +++ b/testdata/print.txt @@ -21,3 +21,5 @@ a b c (0:nil) map[2] true false +[0/0]nil +[0/0]nil |