Apparently, PTHREAD_STACK_MIN can be in limits.h on some systems...

llvm-svn: 298196
This commit is contained in:
Kuba Mracek 2017-03-18 22:01:33 +00:00
parent 0d9b01fb95
commit 61f8bca7c5

View File

@ -14,6 +14,7 @@
// RUN: %env_asan_opts=detect_stack_use_after_return=1:max_uar_stack_size_log=20:verbosity=1 not %run %t 2>&1 | FileCheck --check-prefix=CHECK-20 %s
// RUN: %env_asan_opts=detect_stack_use_after_return=1:min_uar_stack_size_log=24:max_uar_stack_size_log=24:verbosity=1 not %run %t 2>&1 | FileCheck --check-prefix=CHECK-24 %s
#include <limits.h>
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>