aboutsummaryrefslogtreecommitdiff
path: root/lib/msan/lit_tests/ioctl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/msan/lit_tests/ioctl.cc')
-rw-r--r--lib/msan/lit_tests/ioctl.cc20
1 files changed, 0 insertions, 20 deletions
diff --git a/lib/msan/lit_tests/ioctl.cc b/lib/msan/lit_tests/ioctl.cc
deleted file mode 100644
index caff80c2e5d7..000000000000
--- a/lib/msan/lit_tests/ioctl.cc
+++ /dev/null
@@ -1,20 +0,0 @@
-// RUN: %clangxx_msan -m64 -O0 -g %s -o %t && %t
-// RUN: %clangxx_msan -m64 -O3 -g %s -o %t && %t
-
-#include <assert.h>
-#include <stdlib.h>
-#include <sys/ioctl.h>
-#include <sys/socket.h>
-#include <unistd.h>
-
-int main(int argc, char **argv) {
- int fd = socket(AF_INET, SOCK_DGRAM, 0);
-
- unsigned int z;
- int res = ioctl(fd, FIOGETOWN, &z);
- assert(res == 0);
- close(fd);
- if (z)
- exit(0);
- return 0;
-}