Test to verify -Wformat-overflow uses context-sensitive ranges.
authorMartin Sebor <msebor@redhat.com>
Fri, 14 Jan 2022 16:59:53 +0000 (09:59 -0700)
committerMartin Sebor <msebor@redhat.com>
Fri, 14 Jan 2022 16:59:53 +0000 (09:59 -0700)
commit1e6294bb15d2169147c7838f89a9168980b94b47
tree956dbff7068df422f4c92c1cbaf637f375873548
parentd82a54f5644ae3db546e596b7bc426c5cb00b7e1
Test to verify -Wformat-overflow uses context-sensitive ranges.

gcc/testsuite/ChangeLog:
* gcc.dg/tree-ssa/builtin-sprintf-warn-28.c: New test.
gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-28.c [new file with mode: 0644]