Add a test for #1914 and #1915

This commit is contained in:
topecongiro 2017-08-25 08:20:11 +09:00
parent 1f9e7c25c9
commit 34cf16436a
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,6 @@
// rustfmt-max_width: 80
extern "C" {
#[link_name = "_ZN7MyClass26example_check_no_collisionE"]
pub static mut MyClass_example_check_no_collision : * const :: std :: os :: raw :: c_int ;
}

View File

@ -0,0 +1,7 @@
// rustfmt-max_width: 80
extern "C" {
#[link_name = "_ZN7MyClass26example_check_no_collisionE"]
pub static mut MyClass_example_check_no_collision:
*const ::std::os::raw::c_int;
}