diff options
Diffstat (limited to 'test/fixedbugs/issue28079b.go')
-rw-r--r-- | test/fixedbugs/issue28079b.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fixedbugs/issue28079b.go b/test/fixedbugs/issue28079b.go index 47cc16dfb2..d1992e1d09 100644 --- a/test/fixedbugs/issue28079b.go +++ b/test/fixedbugs/issue28079b.go @@ -10,8 +10,8 @@ package p import "unsafe" -type T [uintptr(unsafe.Pointer(nil))]int // ERROR "non-constant array bound" +type T [uintptr(unsafe.Pointer(nil))]int // ERROR "non-constant array bound|array bound is not constant" func f() { - _ = complex(1<<uintptr(unsafe.Pointer(nil)), 0) + _ = complex(1<<uintptr(unsafe.Pointer(nil)), 0) // GCCGO_ERROR "non-integer type for left operand of shift" } |