aboutsummaryrefslogtreecommitdiff
path: root/libc/tests
diff options
context:
space:
mode:
Diffstat (limited to 'libc/tests')
-rw-r--r--libc/tests/const_fn.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/libc/tests/const_fn.rs b/libc/tests/const_fn.rs
deleted file mode 100644
index 0e7e186..0000000
--- a/libc/tests/const_fn.rs
+++ /dev/null
@@ -1,5 +0,0 @@
-#![cfg(libc_const_extern_fn)] // If this does not hold, the file is empty
-
-#[cfg(target_os = "linux")]
-const _FOO: libc::c_uint = unsafe { libc::CMSG_SPACE(1) };
-//^ if CMSG_SPACE is not const, this will fail to compile