diff options
author | Jakub Jelinek <jakub@redhat.com> | 2015-12-02 08:33:06 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2015-12-02 08:33:06 +0100 |
commit | 657e4e47344408f7ca6b3c05bd86337dd424a3cf (patch) | |
tree | 0916e5db0f1f5a9235cadfad0dd148b31c92f286 /gcc/testsuite/c-c++-common | |
parent | fe78aa0474d9469384951dbddcd5aeea5f40c03c (diff) | |
download | gcc-657e4e47344408f7ca6b3c05bd86337dd424a3cf.zip gcc-657e4e47344408f7ca6b3c05bd86337dd424a3cf.tar.gz gcc-657e4e47344408f7ca6b3c05bd86337dd424a3cf.tar.bz2 |
re PR c/68533 (bogus location for "warning: ‘struct s3’ declared inside parameter list will not be visible outside of this definition or declaration")
PR c/68533
* c-decl.c (get_parm_info): Use b->locus instead of input_location
for diagnostics.
* gcc.dg/pr68533.c: New test.
From-SVN: r231147
Diffstat (limited to 'gcc/testsuite/c-c++-common')
0 files changed, 0 insertions, 0 deletions