You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
301 B
16 lines
301 B
// RUN: %clangxx_asan -O0 %s -o %t && %run %t
|
|
|
|
// This fails on i386 Linux due to a glibc versioned symbols mixup.
|
|
// REQUIRES: asan-64-bits
|
|
|
|
#include <assert.h>
|
|
#include <stdio.h>
|
|
|
|
int main() {
|
|
FILE *fp = fopen("/dev/null", "w");
|
|
assert(fp);
|
|
freopen(NULL, "a", fp);
|
|
fclose(fp);
|
|
return 0;
|
|
}
|