From 203a17c6ec0b53abbd24c556b77a7fcc2ad70875 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Mon, 10 Nov 2008 14:59:15 -0800 Subject: [PATCH] update tests R=gri DELTA=28 (12 added, 14 deleted, 2 changed) OCL=18923 CL=18923 --- test/{bugs => fixedbugs}/bug118.go | 0 test/golden.out | 8 +++----- 2 files changed, 3 insertions(+), 5 deletions(-) rename test/{bugs => fixedbugs}/bug118.go (100%) diff --git a/test/bugs/bug118.go b/test/fixedbugs/bug118.go similarity index 100% rename from test/bugs/bug118.go rename to test/fixedbugs/bug118.go diff --git a/test/golden.out b/test/golden.out index 640267d301..3b4fcecfe4 100644 --- a/test/golden.out +++ b/test/golden.out @@ -121,7 +121,7 @@ BUG: fails incorrectly =========== bugs/bug095.go found 2, expected 1 -panic on line 77 PC=xxx +panic on line 80 PC=xxx BUG wrong result =========== bugs/bug098.go @@ -150,9 +150,6 @@ bugs/bug117.go:10: illegal types for operand: RETURN int BUG: should compile -=========== bugs/bug118.go -BUG should compile - =========== fixedbugs/bug016.go fixedbugs/bug016.go:7: overflow converting constant to uint @@ -265,7 +262,8 @@ M fixedbugs/bug103.go:8: function requires a return type =========== fixedbugs/bug113.go -throw: ifaceI2T: wrong type +main.I·bug113 is int, not int32 +throw: interface conversion SIGSEGV: segmentation violation Faulting address: 0x0 pc: xxx -- 2.50.0