https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84669
David Malcolm <dmalcolm at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |dmalcolm at gcc dot gnu.org
Resolution|--- |FIXED
--- Comment #1 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
I've fixed this for gcc 8 (as of r251026).
gcc 7 and earlier emit just this:
/tmp/main.cpp:11:1: error: expected ‘}’ at end of input
}
^
gcc 8 emits:
/tmp/main.cpp:11:1: error: expected ‘}’ at end of input
}
^
In file included from /tmp/main.cpp:1:
/tmp/other.hpp:2:1: note: to match this ‘{’
{
^