Skip to content

Commit

Permalink
test for rust-lang#3128
Browse files Browse the repository at this point in the history
  • Loading branch information
nrc committed Nov 15, 2018
1 parent dd7add7 commit 5dbe107
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/source/extern.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
5 changes: 5 additions & 0 deletions tests/target/extern.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 5dbe107

Please sign in to comment.