Add a test for #2922

This commit is contained in:
Ivan Molodetskikh 2018-08-31 16:01:38 +03:00
parent ec6086b802
commit 430f848c75
No known key found for this signature in database
GPG Key ID: 02CE38DA47E9D691
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,9 @@
// rustfmt-indent_style: Visual
struct Functions {
RunListenServer: unsafe extern "C" fn(*mut c_void,
*mut c_char,
*mut c_char,
*mut c_char,
*mut c_void,
*mut c_void) -> c_int,
}

View File

@ -0,0 +1,10 @@
// rustfmt-indent_style: Visual
struct Functions {
RunListenServer: unsafe extern "C" fn(*mut c_void,
*mut c_char,
*mut c_char,
*mut c_char,
*mut c_void,
*mut c_void)
-> c_int,
}