112a9d9c8Sopenharmony_ci// bindgen-flags: -- --target=i686-pc-win32 212a9d9c8Sopenharmony_ci 312a9d9c8Sopenharmony_ciextern "C" void foo(); 412a9d9c8Sopenharmony_ci 512a9d9c8Sopenharmony_cistruct Foo { 612a9d9c8Sopenharmony_ci static bool sBar; 712a9d9c8Sopenharmony_ci}; 812a9d9c8Sopenharmony_ci 912a9d9c8Sopenharmony_ci// Also test some x86 Windows specific calling conventions that have their own 1012a9d9c8Sopenharmony_ci// special mangling 1112a9d9c8Sopenharmony_ciextern "C" { 1212a9d9c8Sopenharmony_ci int _fastcall fast_call_func_no_args(); 1312a9d9c8Sopenharmony_ci // This will result in a suffix with more than one character (i.e. `@12`) 1412a9d9c8Sopenharmony_ci int _fastcall fast_call_func_many_args(int,int,int); 1512a9d9c8Sopenharmony_ci int _stdcall std_call_func_no_args(); 1612a9d9c8Sopenharmony_ci // This will result in a suffix with more than one character (i.e. `@12`) 1712a9d9c8Sopenharmony_ci int _stdcall std_call_func_many_args(int,int,int); 1812a9d9c8Sopenharmony_ci} 19