diff --git a/tests/expectations/static.c b/tests/expectations/static.c index bb9ddd2..05528bd 100644 --- a/tests/expectations/static.c +++ b/tests/expectations/static.c @@ -14,6 +14,4 @@ extern Foo FOO; extern const int32_t NUMBER; -extern const char* STRING; - void root(); diff --git a/tests/expectations/static.cpp b/tests/expectations/static.cpp index 3a3b7e0..c907a75 100644 --- a/tests/expectations/static.cpp +++ b/tests/expectations/static.cpp @@ -15,8 +15,6 @@ extern Foo FOO; extern const int32_t NUMBER; -extern const char* STRING; - void root(); } // extern "C" diff --git a/tests/rust/static.rs b/tests/rust/static.rs index 2a81b15..a18e4a2 100644 --- a/tests/rust/static.rs +++ b/tests/rust/static.rs @@ -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 {