| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "--param asan-instrumentation-with-call-threshold=0 -ffat-lto-objects" } */ |
| 3 |
|
| 4 |
void f(char *a, int *b) { |
| 5 |
*b = *a; |
| 6 |
} |
| 7 |
|
| 8 |
/* { dg-final { scan-assembler "__asan_load1" } } */ |
| 9 |
/* { dg-final { scan-assembler "__asan_store4" } } */ |