summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--compiler-rt/test/asan/TestCases/Linux/aligned_alloc-alignment.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler-rt/test/asan/TestCases/Linux/aligned_alloc-alignment.cc b/compiler-rt/test/asan/TestCases/Linux/aligned_alloc-alignment.cc
index 5483c766f0e..510270089d7 100644
--- a/compiler-rt/test/asan/TestCases/Linux/aligned_alloc-alignment.cc
+++ b/compiler-rt/test/asan/TestCases/Linux/aligned_alloc-alignment.cc
@@ -2,10 +2,12 @@
// RUN: %env_asan_opts=allocator_may_return_null=0 not %run %t 2>&1 | FileCheck %s
// RUN: %env_asan_opts=allocator_may_return_null=1 %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-NULL
+// UNSUPPORTED: android
+
#include <stdio.h>
#include <stdlib.h>
-extern void *aligned_alloc (size_t alignment, size_t size);
+extern void *aligned_alloc(size_t alignment, size_t size);
int main() {
void *p = aligned_alloc(17, 100);
OpenPOWER on IntegriCloud