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
+2017-04-04 Volker Reichelt <v.reichelt@netcologne.de>
+
+ PR c++/80296
+ * cxx-pretty-print.c (cxx_pretty_printer::expression): Add
+ UNARY_PLUS_EXPR case.
+
2017-04-03 Jason Merrill <jason@redhat.com>
* semantics.c (finish_template_type): Check CLASSTYPE_TEMPLATE_INFO.
case SIZEOF_EXPR:
case ALIGNOF_EXPR:
case NOEXCEPT_EXPR:
+ case UNARY_PLUS_EXPR:
unary_expression (t);
break;
+2017-04-04 Volker Reichelt <v.reichelt@netcologne.de>
+
+ PR c++/80296
+ * g++.dg/cpp0x/alias-decl-80296.C: New test.
+
2017-04-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
PR target/80307
--- /dev/null
+// { dg-do compile { target c++11 } }
+// { dg-bogus "not supported by" "" { target *-*-* } 0 }
+
+template <int...> struct A {};
+
+template <int... N> using B = A<+N...>;
+
+B<int> b; // { dg-error "type/value mismatch" }
+ // { dg-message "expected a constant" "expected" { target *-*-* } 8 }