re PR c++/80296 (Broken diagnostic 'unary_plus_expr' not supported by expression)
authorVolker Reichelt <v.reichelt@netcologne.de>
Tue, 4 Apr 2017 16:30:44 +0000 (16:30 +0000)
committerVolker Reichelt <reichelt@gcc.gnu.org>
Tue, 4 Apr 2017 16:30:44 +0000 (16:30 +0000)
commitc0ea338bd2765c1af808a96e72a3928a52e4f558
treeb36519a20682d109be8765e8b50a528a647bd8a5
parenta1527a93a6a7dcc031b917db1e6ff7efa8916c4a
re PR c++/80296 (Broken diagnostic 'unary_plus_expr' not supported by expression)

        PR c++/80296
        * cxx-pretty-print.c (cxx_pretty_printer::expression): Add
        UNARY_PLUS_EXPR case.

        * g++.dg/cpp0x/alias-decl-80296.C: New test.

From-SVN: r246683
gcc/cp/ChangeLog
gcc/cp/cxx-pretty-print.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/alias-decl-80296.C [new file with mode: 0644]