aboutsummaryrefslogtreecommitdiffhomepage
path: root/cgo/testdata/flags.out.go
blob: 0bcad0d5a76100a0911ae26dc5639cc47bfdc956 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// CGo errors:
//     testdata/flags.go:5:7: invalid #cgo line: NOFLAGS
//     testdata/flags.go:8:13: invalid flag: -fdoes-not-exist

package main

import "unsafe"

var _ unsafe.Pointer

const C.BAR = 3
const C.FOO_H = 1

type C.int16_t = int16
type C.int32_t = int32
type C.int64_t = int64
type C.int8_t = int8
type C.uint16_t = uint16
type C.uint32_t = uint32
type C.uint64_t = uint64
type C.uint8_t = uint8
type C.uintptr_t = uintptr
type C.char uint8
type C.int int32
type C.long int32
type C.longlong int64
type C.schar int8
type C.short int16
type C.uchar uint8
type C.uint uint32
type C.ulong uint32
type C.ulonglong uint64
type C.ushort uint16