re PR c++/28054 (ICE with friend declaration of invalid bitfield)
PR c++/28054 * decl2.c (grokbitfield): Remove check for grokdeclarator returning NULL_TREE, instead check for error_mark_node to indicate failure. * decl.c (grokdeclarator): Adjust block comment. * g++.dg/other/incomplete3.C: New test. Co-Authored-By: Mark Mitchell <mark@codesourcery.com> From-SVN: r114986
Showing
gcc/testsuite/g++.dg/other/incomplete3.C
0 → 100644
Please
register
or
sign in
to comment