/cp
2014-07-09 Andrew Sutton <andrew.n.sutton@gmail.com>
Paolo Carlini <paolo.carlini@oracle.com>
PR c++/59361
* parser.c (cp_parser_tokens_start_cast_expression): Return 0 for
CPP_ELLIPSIS too.
/testsuite
2014-07-09 Andrew Sutton <andrew.n.sutton@gmail.com>
Paolo Carlini <paolo.carlini@oracle.com>
PR c++/59361
* g++.dg/cpp0x/vt-59361.C: New.
Co-Authored-By: Paolo Carlini <paolo.carlini@oracle.com>
From-SVN: r212386
+2014-07-09 Andrew Sutton <andrew.n.sutton@gmail.com>
+ Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/59361
+ * parser.c (cp_parser_tokens_start_cast_expression): Return 0 for
+ CPP_ELLIPSIS too.
+
2014-07-07 Paolo Carlini <paolo.carlini@oracle.com>
* class.c (check_for_override): Wrap the 'final' and 'override'
case CPP_OR:
case CPP_OR_OR:
case CPP_EOF:
+ case CPP_ELLIPSIS:
return 0;
case CPP_OPEN_PAREN:
+2014-07-09 Andrew Sutton <andrew.n.sutton@gmail.com>
+ Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/59361
+ * g++.dg/cpp0x/vt-59361.C: New.
+
2014-07-08 Sriraman Tallam <tmsriram@google.com>
PR target/61599
--- /dev/null
+// PR c++/59361
+// { dg-do compile { target c++11 } }
+
+template<bool ...Bs>
+struct and_
+{
+ constexpr static bool value{true};
+};
+
+template<typename T>
+struct true_
+{
+ constexpr operator bool() const { return true; }
+};
+
+template<typename ...Ts>
+constexpr bool foo(Ts...)
+{
+ return and_<(true_<Ts>())...>::value;
+}