diff options
author | Alexey Samsonov <samsonov@google.com> | 2014-02-14 13:02:58 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2014-02-14 13:02:58 +0000 |
commit | 8434e60f7e2d8e5da48d94f612cf980a5d63bcec (patch) | |
tree | 50cad838f4fa63729797db962033eb72ddcb0fe1 /compiler-rt/lib/msan/lit_tests/errno.cc | |
parent | 0de2b9b1e2d7a24a54b64e7302536b59c3010c38 (diff) | |
download | bcm5719-llvm-8434e60f7e2d8e5da48d94f612cf980a5d63bcec.tar.gz bcm5719-llvm-8434e60f7e2d8e5da48d94f612cf980a5d63bcec.zip |
Move MSan lit-tests under test/msan
llvm-svn: 201412
Diffstat (limited to 'compiler-rt/lib/msan/lit_tests/errno.cc')
-rw-r--r-- | compiler-rt/lib/msan/lit_tests/errno.cc | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/compiler-rt/lib/msan/lit_tests/errno.cc b/compiler-rt/lib/msan/lit_tests/errno.cc deleted file mode 100644 index af27ad0b032..00000000000 --- a/compiler-rt/lib/msan/lit_tests/errno.cc +++ /dev/null @@ -1,17 +0,0 @@ -// RUN: %clangxx_msan -m64 -O0 %s -o %t && %t - -#include <assert.h> -#include <errno.h> -#include <stdio.h> -#include <unistd.h> - -int main() -{ - int x; - int *volatile p = &x; - errno = *p; - int res = read(-1, 0, 0); - assert(res == -1); - if (errno) printf("errno %d\n", errno); - return 0; -} |