1*1f5207b7SJohn Levon extern void __attribute__((cdecl)) c1(void);
2*1f5207b7SJohn Levon typedef void (__attribute__((cdecl)) *c2)(void);
3*1f5207b7SJohn Levon typedef c2 c2ptr;
4*1f5207b7SJohn Levon 
5*1f5207b7SJohn Levon extern void __attribute__((__cdecl__)) c_1(void);
6*1f5207b7SJohn Levon typedef void (__attribute__((__cdecl__)) *c_2)(void);
7*1f5207b7SJohn Levon typedef c_2 c_2ptr;
8*1f5207b7SJohn Levon 
9*1f5207b7SJohn Levon extern void __attribute__((stdcall)) s1(void);
10*1f5207b7SJohn Levon typedef void (__attribute__((stdcall)) *s2)(void);
11*1f5207b7SJohn Levon typedef s2 s2ptr;
12*1f5207b7SJohn Levon 
13*1f5207b7SJohn Levon extern void __attribute__((__stdcall__)) s_1(void);
14*1f5207b7SJohn Levon typedef void (__attribute__((__stdcall__)) *s_2)(void);
15*1f5207b7SJohn Levon typedef s_2 s_2ptr;
16*1f5207b7SJohn Levon 
17*1f5207b7SJohn Levon extern void __attribute__((fastcall)) f1(void);
18*1f5207b7SJohn Levon typedef void (__attribute__((fastcall)) *f2)(void);
19*1f5207b7SJohn Levon typedef f2 f2ptr;
20*1f5207b7SJohn Levon 
21*1f5207b7SJohn Levon extern void __attribute__((__fastcall__)) f_1(void);
22*1f5207b7SJohn Levon typedef void (__attribute__((__fastcall__)) *f_2)(void);
23*1f5207b7SJohn Levon typedef f_2 f_2ptr;
24*1f5207b7SJohn Levon /*
25*1f5207b7SJohn Levon  * check-name: Calling convention attributes
26*1f5207b7SJohn Levon  */
27