mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-17 06:26:55 +00:00
parent
1f9e7c25c9
commit
34cf16436a
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…
Reference in New Issue
Block a user