summaryrefslogtreecommitdiff
path: root/libc/libc-test/test
diff options
context:
space:
mode:
Diffstat (limited to 'libc/libc-test/test')
-rw-r--r--libc/libc-test/test/linux_fcntl.rs7
-rw-r--r--libc/libc-test/test/main.rs6
2 files changed, 13 insertions, 0 deletions
diff --git a/libc/libc-test/test/linux_fcntl.rs b/libc/libc-test/test/linux_fcntl.rs
new file mode 100644
index 0000000..4c8ad52
--- /dev/null
+++ b/libc/libc-test/test/linux_fcntl.rs
@@ -0,0 +1,7 @@
+#![allow(bad_style, improper_ctypes, unused)]
+
+extern crate libc;
+
+use libc::*;
+
+include!(concat!(env!("OUT_DIR"), "/linux_fcntl.rs"));
diff --git a/libc/libc-test/test/main.rs b/libc/libc-test/test/main.rs
new file mode 100644
index 0000000..3d33610
--- /dev/null
+++ b/libc/libc-test/test/main.rs
@@ -0,0 +1,6 @@
+#![allow(bad_style, improper_ctypes)]
+extern crate libc;
+
+use libc::*;
+
+include!(concat!(env!("OUT_DIR"), "/main.rs"));