Commit 53f3c1a1 by Marek Polacek Committed by Marek Polacek

PR c++/92070 - bogus error with -fchecking=2.

	* g++.dg/expr/cond17.C: New test.

From-SVN: r276907
parent c6c3f556
2019-10-11 Marek Polacek <polacek@redhat.com> 2019-10-11 Marek Polacek <polacek@redhat.com>
PR c++/92070 - bogus error with -fchecking=2.
* g++.dg/expr/cond17.C: New test.
2019-10-11 Marek Polacek <polacek@redhat.com>
PR c++/92049 - extra error with -fchecking=2. PR c++/92049 - extra error with -fchecking=2.
* g++.dg/template/builtin2.C: New test. * g++.dg/template/builtin2.C: New test.
......
// PR c++/92070 - bogus error with -fchecking=2.
// { dg-additional-options "-fchecking=2" }
struct a;
struct b {
static a c();
};
struct a : b {};
template <class> struct d {
void e() { 0 ? b() : b::c(); }
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment