diff options
author | Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org> | 2018-08-15 15:52:22 +0000 |
---|---|---|
committer | Prathamesh Kulkarni <prathamesh3492@gcc.gnu.org> | 2018-08-15 15:52:22 +0000 |
commit | 0cd020ae59e1131b8d7e23424c319c493745f0f8 (patch) | |
tree | f9611140f858ee59be030aa1f78bfa2bc7d63d19 /libcpp/line-map.c | |
parent | bcee52c4b7ab4a47bb4c2426daa10f5b37968ac7 (diff) | |
download | gcc-0cd020ae59e1131b8d7e23424c319c493745f0f8.zip gcc-0cd020ae59e1131b8d7e23424c319c493745f0f8.tar.gz gcc-0cd020ae59e1131b8d7e23424c319c493745f0f8.tar.bz2 |
c-decl.c (start_decl): Do not warn if variables is named as main and is a local variable.
2018-08-15 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
c/
* c-decl.c (start_decl): Do not warn if variables is named as main
and is a local variable.
testsuite/
* gcc.dg/wmain.c: New test.
From-SVN: r263562
Diffstat (limited to 'libcpp/line-map.c')
0 files changed, 0 insertions, 0 deletions