]>
Commit | Line | Data |
---|---|---|
bc998d03 ILT |
1 | // Copyright 2017 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. | |
4 | ||
5 | package cgotest | |
6 | ||
7 | /* | |
8 | #define UINT64_MAX 18446744073709551615ULL | |
9 | */ | |
10 | import "C" | |
11 | import ( | |
12 | "math" | |
13 | "testing" | |
14 | ) | |
15 | ||
16 | func test20369(t *testing.T) { | |
17 | if C.UINT64_MAX != math.MaxUint64 { | |
18 | t.Fatalf("got %v, want %v", uint64(C.UINT64_MAX), uint64(math.MaxUint64)) | |
19 | } | |
20 | } |