1 // Copyright 2018 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.
5 // Wrong type of constant with GCC 8 and newer.
9 // const unsigned long long int issue26066 = (const unsigned long long) -1;
14 func test26066(t
*testing
.T
) {
15 var i
= int64(C
.issue26066
)
17 t
.Errorf("got %d, want -1", i
)