summaryrefslogtreecommitdiff
path: root/test/sanitizer_common/TestCases/Posix/crypt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/sanitizer_common/TestCases/Posix/crypt.cpp')
-rw-r--r--test/sanitizer_common/TestCases/Posix/crypt.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/sanitizer_common/TestCases/Posix/crypt.cpp b/test/sanitizer_common/TestCases/Posix/crypt.cpp
index ff2626408..7927c6b6a 100644
--- a/test/sanitizer_common/TestCases/Posix/crypt.cpp
+++ b/test/sanitizer_common/TestCases/Posix/crypt.cpp
@@ -1,7 +1,7 @@
-// RUN: %clangxx -O0 -g %s -o %t && %run %t
+// RUN: %clangxx -O0 -g %s -o %t -lcrypt && %run %t
-// crypt is missing from Android.
-// UNSUPPORTED: android
+// crypt() is missing from Android and -lcrypt from darwin.
+// UNSUPPORTED: android, darwin
#include <assert.h>
#include <unistd.h>