1 /* Verify we don't ICE on -Wanalyzer-overlapping-buffers on
2 execution paths where the size is constant zero, but the
3 optimizer didn't see that. */
5 typedef __SIZE_TYPE__
size_t;
10 size_t __attribute__((noinline
))
19 size_t n
= get_hidden_zero ();
20 __builtin_strncpy (a
, a
, n
); /* { dg-warning "overlapping buffers passed as arguments to" } */