Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / c-c++-common / hwasan / no-sanitize-attribute.c
blobc0a254dc83a4e662212e337f217c7480fce7eb00
1 /* { dg-do compile } */
3 __attribute__((no_sanitize("hwaddress"))) int
4 f (int *p, int *q)
6 *p = 42;
7 return *q;
10 /* Only have one instance of __hwasan, it is __hwasan_init (the module
11 * constructor) there is no instrumentation in the function. */
12 /* { dg-final { scan-assembler-times "__hwasan" 1 } } */