]> git.proxmox.com Git - rustc.git/blame - src/test/run-pass-valgrind/osx-frameworks.rs
Update unsuspicious file list
[rustc.git] / src / test / run-pass-valgrind / osx-frameworks.rs
CommitLineData
c34b1796
AL
1// pretty-expanded FIXME #23616
2
0731742a 3#![feature(rustc_private)]
c34b1796 4
1a4d82fc 5extern crate libc;
223e47cc 6
1a4d82fc
JJ
7#[cfg(target_os = "macos")]
8#[link(name = "CoreFoundation", kind = "framework")]
5869c6ff 9extern "C" {
1a4d82fc
JJ
10 fn CFRunLoopGetTypeID() -> libc::c_ulong;
11}
12
13#[cfg(target_os = "macos")]
223e47cc 14pub fn main() {
5869c6ff
XL
15 unsafe {
16 CFRunLoopGetTypeID();
17 }
223e47cc 18}
1a4d82fc
JJ
19
20#[cfg(not(target_os = "macos"))]
21pub fn main() {}