| 1 |
/* Check that interface headers work. */ |
| 2 |
|
| 3 |
/* { dg-do run { target { *-*-linux* *-*-freebsd* } } } */ |
| 4 |
|
| 5 |
#include <sanitizer/asan_interface.h> |
| 6 |
|
| 7 |
int main() { |
| 8 |
char tmp; |
| 9 |
if (__asan_address_is_poisoned((volatile char *)&tmp + 1)) |
| 10 |
return 0; |
| 11 |
return 1; |
| 12 |
} |
| 13 |
|