summaryrefslogtreecommitdiff
path: root/tests/tests.rs
diff options
context:
space:
mode:
authorMichael Woerister <michaelwoerister@posteo>2019-05-08 11:20:47 +0200
committerEmilio Cobos Álvarez <emilio@crisal.io>2019-05-15 00:22:37 +0200
commite262df53cc074929bb2026377016d8d540954a9f (patch)
tree7a7019c3aa275ee5d9ad5a68ac5faeed2df21ba1 /tests/tests.rs
parentdb1611fe4b26f267b6509ffb8e324a1c8ba84e21 (diff)
Update tests to account for changed #[link_name] attribute emission.
Diffstat (limited to 'tests/tests.rs')
-rw-r--r--tests/tests.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/tests.rs b/tests/tests.rs
index 092824f1..ee4783eb 100644
--- a/tests/tests.rs
+++ b/tests/tests.rs
@@ -339,11 +339,9 @@ fn test_clang_env_args() {
let (expected, _) = rustfmt("/* automatically generated by rust-bindgen */
extern \"C\" {
- #[link_name = \"\\u{1}x\"]
pub static mut x: [::std::os::raw::c_int; 1usize];
}
extern \"C\" {
- #[link_name = \"\\u{1}y\"]
pub static mut y: [::std::os::raw::c_int; 1usize];
}
".to_string());