diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/const1.go | 2 | ||||
-rw-r--r-- | test/fixedbugs/bug115.go (renamed from test/bugs/bug115.go) | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/test/const1.go b/test/const1.go index d51e5823a..0d48ada5e 100644 --- a/test/const1.go +++ b/test/const1.go @@ -39,7 +39,7 @@ var ( b3 = Uint8 - Uint8; // OK b4 = Uint8 - Uint8 - Uint8; // ERROR "overflow" b5 = uint8(^0); // ERROR "overflow" - b6 = ^uint8(0); // ERROR "overflow" + b6 = ^uint8(0); // OK b7 = uint8(Minus1); // ERROR "overflow" b8 = uint8(int8(-1)); // ERROR "overflow" b8a = uint8(-1); // ERROR "overflow" diff --git a/test/bugs/bug115.go b/test/fixedbugs/bug115.go index 16b22d707..16b22d707 100644 --- a/test/bugs/bug115.go +++ b/test/fixedbugs/bug115.go |