analyzer: add regression test [PR94579]
gcc/testsuite/ChangeLog: PR analyzer/94579 * gcc.dg/analyzer/pr94579.c: New test. Signed-off-by: David Malcolm <dmalcolm@redhat.com>
This commit is contained in:
parent
9603bccba6
commit
955ea7b58e
|
@ -0,0 +1,11 @@
|
|||
struct a *c;
|
||||
struct a {
|
||||
int b;
|
||||
} d() {
|
||||
}
|
||||
|
||||
void e()
|
||||
|
||||
{
|
||||
*c = d();
|
||||
}
|
Loading…
Reference in New Issue