parent
1f9e7c25c9
commit
34cf16436a
2 changed files with 13 additions and 0 deletions
6
tests/source/issue-1914.rs
Normal file
6
tests/source/issue-1914.rs
Normal 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 ;
|
||||
}
|
||||
7
tests/target/issue-1914.rs
Normal file
7
tests/target/issue-1914.rs
Normal 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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue