diff options
author | Immad Mir <mirimmad@outlook.com> | 2022-07-06 21:38:27 +0530 |
---|---|---|
committer | Immad Mir <mirimmad@outlook.com> | 2022-07-06 21:38:41 +0530 |
commit | acb696b792eeab92167f516b5236ed9242e62deb (patch) | |
tree | b2effa75b87708b06eb557dbc339ed73f4396a4b /gcc/tree-streamer.cc | |
parent | 3a6de2b2db500d76ac141a6ef85d336bd0f8430b (diff) | |
download | gcc-acb696b792eeab92167f516b5236ed9242e62deb.zip gcc-acb696b792eeab92167f516b5236ed9242e62deb.tar.gz gcc-acb696b792eeab92167f516b5236ed9242e62deb.tar.bz2 |
analyzer: add testcase of using closed fd without warning.
This patch adds a testcase for passing a closed fd to a function
that does not emit any warning.
gcc/testsuite/ChangeLog:
* gcc.dg/analyzer/fd-4.c: Add a new testcase to demonstrate
passsing of a closed file descriptor to a function that does
not emit any warning.
Signed-off-by: Immad Mir <mirimmad@outlook.com>
Diffstat (limited to 'gcc/tree-streamer.cc')
0 files changed, 0 insertions, 0 deletions