xref: /rust-libc-0.2.174/tests/const_fn.rs (revision 674cc1f4)
1 #[cfg(target_os = "linux")]
2 const _FOO: libc::c_uint = unsafe { libc::CMSG_SPACE(1) };
3 //^ if CMSG_SPACE is not const, this will fail to compile
4