diff --git a/tests/source/extern.rs b/tests/source/extern.rs index 187e698607ac0..564c078ed2cde 100644 --- a/tests/source/extern.rs +++ b/tests/source/extern.rs @@ -14,6 +14,11 @@ extern crate bar; extern crate proc_macro2; extern crate proc_macro; +// #3128 +extern crate serde; // 1.0.78 +extern crate serde_derive; // 1.0.78 +extern crate serde_json; // 1.0.27 + extern "C" { fn c_func(x: *mut *mut libc::c_void); diff --git a/tests/target/extern.rs b/tests/target/extern.rs index b0aa51127d54e..d25dba7d1bb9a 100644 --- a/tests/target/extern.rs +++ b/tests/target/extern.rs @@ -14,6 +14,11 @@ extern crate foo; extern crate proc_macro; extern crate proc_macro2; +// #3128 +extern crate serde; // 1.0.78 +extern crate serde_derive; // 1.0.78 +extern crate serde_json; // 1.0.27 + extern "C" { fn c_func(x: *mut *mut libc::c_void);