public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-5642] analyzer: add regression test [PR94579]
@ 2021-11-30 22:50 David Malcolm
0 siblings, 0 replies; only message in thread
From: David Malcolm @ 2021-11-30 22:50 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:955ea7b58e4f1e3cc5083e88575161168c147254
commit r12-5642-g955ea7b58e4f1e3cc5083e88575161168c147254
Author: David Malcolm <dmalcolm@redhat.com>
Date: Tue Nov 30 15:31:59 2021 -0500
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>
Diff:
---
gcc/testsuite/gcc.dg/analyzer/pr94579.c | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/gcc/testsuite/gcc.dg/analyzer/pr94579.c b/gcc/testsuite/gcc.dg/analyzer/pr94579.c
new file mode 100644
index 00000000000..0ab88c2efb5
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/analyzer/pr94579.c
@@ -0,0 +1,11 @@
+struct a *c;
+struct a {
+ int b;
+} d() {
+}
+
+void e()
+
+{
+ *c = d();
+}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-11-30 22:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-30 22:50 [gcc r12-5642] analyzer: add regression test [PR94579] David Malcolm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).