aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test-ntohl.c
diff options
context:
space:
mode:
Diffstat (limited to 'test-ntohl.c')
-rw-r--r--test-ntohl.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test-ntohl.c b/test-ntohl.c
new file mode 100644
index 00000000..52dcc256
--- /dev/null
+++ b/test-ntohl.c
@@ -0,0 +1,7 @@
+#include <arpa/inet.h>
+
+int
+main(void)
+{
+ return htonl(ntohl(0x3a7d0cdb)) != 0x3a7d0cdb;
+}