1 /* { dg-additional-options "-fdump-analyzer-untracked" } */
3 #include "analyzer-decls.h"
10 /* memset of a static struct that never gets used. */
15 static struct S s
; /* { dg-warning "track 's': no" } */
16 __builtin_memset (&s
, 0, sizeof (s
));
19 /* memset of a static struct that later gets used. */
24 static struct S s
; /* { dg-warning "track 's': yes" } */
25 __builtin_memset (&s
, 0, sizeof (s
));
26 __analyzer_eval (s
.i
== 0); /* { dg-warning "TRUE" } */