summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/scudo/double-free.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/test/scudo/double-free.cpp')
-rw-r--r--compiler-rt/test/scudo/double-free.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/compiler-rt/test/scudo/double-free.cpp b/compiler-rt/test/scudo/double-free.cpp
index 56118038cf1..de6c90f1cce 100644
--- a/compiler-rt/test/scudo/double-free.cpp
+++ b/compiler-rt/test/scudo/double-free.cpp
@@ -2,7 +2,6 @@
// RUN: not %run %t malloc 2>&1 | FileCheck %s
// RUN: not %run %t new 2>&1 | FileCheck %s
// RUN: not %run %t newarray 2>&1 | FileCheck %s
-// RUN: not %run %t memalign 2>&1 | FileCheck %s
// Tests double-free error on pointers allocated with different allocation
// functions.
@@ -32,13 +31,6 @@ int main(int argc, char **argv)
delete[] p;
delete[] p;
}
- if (!strcmp(argv[1], "memalign")) {
- void *p = nullptr;
- posix_memalign(&p, 0x100, sizeof(int));
- assert(p);
- free(p);
- free(p);
- }
return 0;
}
OpenPOWER on IntegriCloud