PR c/21668
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 Nov 2005 07:07:33 +0000 (07:07 +0000)
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 Nov 2005 07:07:33 +0000 (07:07 +0000)
commit9096068a6062917b5a214a050ee57e11654a6e24
tree57cdce0dac387244542b1a40a789f1005b4896da
parent66d6257e5a22874d60fbdbc85e633bb00066da9a
    PR c/21668
        * c-decl.c (grokdeclarator): Don't warn for 'extern const' when
        compiling at the intersection of C and C++.

testsuite/
        PR c/21668
        * gcc.dg/Wc++-compat.c: New.
        * gcc.dg/Wno-c++-compat.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107401 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/Wc++-compat.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/Wno-c++-compat.c [new file with mode: 0644]