summaryrefslogtreecommitdiff
path: root/tests/headers/issue-1382-rust-primitive-types.h
blob: 4cf346e6c9a640e04fbec6c8a458a9ba49a689d9 (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
34
typedef int int8_t;
typedef int uint8_t;
typedef int int16_t;
typedef int uint16_t;
typedef int int32_t;
typedef int uint32_t;
typedef int int64_t;
typedef int uint64_t;

typedef int8_t i8;
typedef uint8_t u8;
typedef int16_t i16;
typedef uint16_t u16;
typedef int32_t i32;
typedef uint32_t u32;
typedef int64_t i64;
typedef uint64_t u64;

struct Foo {
    int i8;
    int u8;
    int i16;
    int u16;
    int i32;
    int u32;
    int i64;
    int u64;
    int i128;
    int u128;
    int isize;
    int usize;
    int f32;
    int f64;
};