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:
David Malcolm 2021-11-30 15:31:59 -05:00
parent 9603bccba6
commit 955ea7b58e
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
struct a *c;
struct a {
int b;
} d() {
}
void e()
{
*c = d();
}