param_cleared: add some more functions that clear parameters
[smatch.git] / validation / calling-convention-attributes.c
blob1c1c876610a4272d2c274f2ac74d74de6f39af7d
1 extern void __attribute__((cdecl)) c1(void);
2 typedef void (__attribute__((cdecl)) *c2)(void);
3 typedef c2 c2ptr;
5 extern void __attribute__((__cdecl__)) c_1(void);
6 typedef void (__attribute__((__cdecl__)) *c_2)(void);
7 typedef c_2 c_2ptr;
9 extern void __attribute__((stdcall)) s1(void);
10 typedef void (__attribute__((stdcall)) *s2)(void);
11 typedef s2 s2ptr;
13 extern void __attribute__((__stdcall__)) s_1(void);
14 typedef void (__attribute__((__stdcall__)) *s_2)(void);
15 typedef s_2 s_2ptr;
17 extern void __attribute__((fastcall)) f1(void);
18 typedef void (__attribute__((fastcall)) *f2)(void);
19 typedef f2 f2ptr;
21 extern void __attribute__((__fastcall__)) f_1(void);
22 typedef void (__attribute__((__fastcall__)) *f_2)(void);
23 typedef f_2 f_2ptr;
25 * check-name: Calling convention attributes