blob: 4ea804a184474c8717c337983a65059247fca643 [file] [log] [blame]
// no-prefer-dynamic
// pretty-expanded FIXME #23616
#![feature(rustc_private)]
extern crate libc;
#[cfg(target_os = "macos")]
#[link(name = "CoreFoundation", kind = "framework")]
extern {
fn CFRunLoopGetTypeID() -> libc::c_ulong;
}
#[cfg(target_os = "macos")]
pub fn main() {
unsafe { CFRunLoopGetTypeID(); }
}
#[cfg(not(target_os = "macos"))]
pub fn main() {}