Summary: Failing tests just marked as UNSUPPORTED or XFAIL. Some of them can be easily supported, but I'll do this in separate patches. Reviewers: eugenis, alekseyshl Subscribers: srhines, kubamracek, llvm-commits, mgorny Differential Revision: https://reviews.llvm.org/D37630 llvm-svn: 312860
17 lines
303 B
C++
17 lines
303 B
C++
// RUN: %clangxx -O0 %s -o %t && %run %t
|
|
// UNSUPPORTED: lsan,ubsan
|
|
|
|
#include <assert.h>
|
|
#include <sys/time.h>
|
|
#include <sys/resource.h>
|
|
|
|
int main() {
|
|
struct rlimit lim_core;
|
|
getrlimit(RLIMIT_CORE, &lim_core);
|
|
void *p;
|
|
if (sizeof(p) == 8) {
|
|
assert(0 == lim_core.rlim_max);
|
|
}
|
|
return 0;
|
|
}
|