summaryrefslogtreecommitdiffstats
path: root/test/fixedbugs/issue12944.go
blob: 59379f1aa6c011f3bff52c62cc7ead4f6424990d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// errorcheck

// Copyright 2015 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.

package main

import "unsafe"

const (
	_ = unsafe.Sizeof([0]byte{}[0]) // ERROR "out of bounds"
)