Fix broken test
This commit is contained in:
@@ -14,6 +14,4 @@ extern Foo FOO;
|
||||
|
||||
extern const int32_t NUMBER;
|
||||
|
||||
extern const char* STRING;
|
||||
|
||||
void root();
|
||||
|
||||
@@ -15,8 +15,6 @@ extern Foo FOO;
|
||||
|
||||
extern const int32_t NUMBER;
|
||||
|
||||
extern const char* STRING;
|
||||
|
||||
void root();
|
||||
|
||||
} // extern "C"
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#[no_mangle]
|
||||
pub static NUMBER: i32 = 10;
|
||||
#[no_mangle]
|
||||
pub static STRING: &'static libc::c_char = "hello world";
|
||||
|
||||
#[repr(C)]
|
||||
struct Foo {
|
||||
|
||||
Reference in New Issue
Block a user