blob: 8031d04aae4875ba4fa8fd363548107017362da8 (
plain) (
blame)
1
2
3
4
5
6
|
// Make sure we don't report a leak nor hang.
// RUN: %clangxx_asan -O3 %s -o %t && %run %t
#include <stdlib.h>
#include <unistd.h>
int *p;
int main() { posix_memalign((void **)&p, 4096, 1 << 20); }
|