aboutsummaryrefslogtreecommitdiffstats
path: root/tools/syz-headerparser/test_headers/th_b.h
blob: 4b32e60412699d6884841d375db74352c0788969 (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
// Copyright 2017 syzkaller project authors. All rights reserved.
// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.

#ifndef _TEST_HEADER_B
#define _TEST_HEADER_B

#include <linux/types.h>		/* header comment */

enum random_enum {
	ONE = 1<<0,
	TWO = 1<<1,
};

struct B {
	unsigned long B1;
	unsigned long B2;
};

struct struct_containing_union {
	int something;
	union {
		char  *a_char;
		struct B *B_ptr;
	} a_union;
};

#endif /* _TEST_HEADER_B */