Debian Codegraph @

gcc/testsuite/gcc.target/arm/cmse/union-3.x

raw
1 #include <arm_cmse.h>
2
3 union u_t_0 {
4 long long ll;
5 };
6
7 typedef void(__attribute__((cmse_nonsecure_call)) fn_t_0)(union u_t_0);
8
9 void fn_caller_0(fn_t_0 *f_ptr) {
10 union u_t_0 x = {1234};
11 f_ptr(x);
12 }
13
14 union u_t_1 {
15 long int l;
16 };
17
18 typedef void(__attribute__((cmse_nonsecure_call)) fn_t_1)(union u_t_1);
19
20 void fn_caller_1(fn_t_1 *f_ptr) {
21 union u_t_1 x = {1234};
22 f_ptr(x);
23 }