]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-1251.rs
Require Drop impls to have the same constness on its bounds as the bounds on the...
[rust.git] / src / test / ui / issues / issue-1251.rs
1 // build-pass
2 #![allow(unused_attributes)]
3 #![allow(dead_code)]
4 // pretty-expanded FIXME #23616
5 // ignore-wasm32-bare no libc to test ffi with
6 #![feature(rustc_private)]
7
8 mod rustrt {
9     extern crate libc;
10
11     extern "C" {
12         pub fn rust_get_test_int() -> libc::intptr_t;
13     }
14 }
15
16 pub fn main() {}