summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/progs/btf_data.c
blob: baa525275bde3180053a2454b6eb737d0e86c77d (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)

struct S {
	int	a;
	int	b;
	int	c;
};

union U {
	int	a;
	int	b;
	int	c;
};

struct S1 {
	int	a;
	int	b;
	int	c;
};

union U1 {
	int	a;
	int	b;
	int	c;
};

typedef int T;
typedef int S;
typedef int U;
typedef int T1;
typedef int S1;
typedef int U1;

struct root_struct {
	S		m_1;
	T		m_2;
	U		m_3;
	S1		m_4;
	T1		m_5;
	U1		m_6;
	struct S	m_7;
	struct S1	m_8;
	union  U	m_9;
	union  U1	m_10;
};

int func(struct root_struct *root)
{
	return 0;
}