1 // Copyright 2021 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
12 // Access Go pointer out of bounds.
14 // We shouldn't get here; asan should stop us first.
15 printf("a[3]=%d\n", a[3]);
20 var cIntArray [2]C.int
21 C.test(&cIntArray[0]) // cIntArray is moved to heap.