summaryrefslogtreecommitdiffstats
path: root/tests/ui/extern/issue-1251.rs
blob: c2c047c79615ec99b2749f165ed9b8d143768e3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// build-pass
#![allow(unused_attributes)]
#![allow(dead_code)]
// pretty-expanded FIXME #23616
// ignore-wasm32-bare no libc to test ffi with
#![feature(rustc_private)]

mod rustrt {
    extern crate libc;

    extern "C" {
        pub fn rust_get_test_int() -> libc::intptr_t;
    }
}

pub fn main() {}