xref: /aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/libc-0.2.153/tests/const_fn.rs (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1 #![cfg(libc_const_extern_fn)] // If this does not hold, the file is empty
2 
3 #[cfg(target_os = "linux")]
4 const _FOO: libc::c_uint = unsafe { libc::CMSG_SPACE(1) };
5 //^ if CMSG_SPACE is not const, this will fail to compile
6