gcc/testsuite/ChangeLog:
PR testsuite/82988
* g++.dg/cpp0x/lambda/lambda-switch.C: Prune unimportant warning.
From-SVN: r254786
+2017-11-15 Martin Sebor <msebor@redhat.com>
+
+ PR testsuite/82988
+ * g++.dg/cpp0x/lambda/lambda-switch.C: Prune unimportant warning.
+
2017-11-15 H.J. Lu <hongjiu.lu@intel.com>
PR target/82990
PR fortran/78240
gfortran.dg/pr78240.f90: Prune run-on errors.
-
+
2017-11-15 Bin Cheng <bin.cheng@arm.com>
PR tree-optimization/82726
break; // { dg-error "break" }
}
};
- l = []() // { dg-warning "statement will never be executed" }
+ l = []()
{
case 3: // { dg-error "case" }
break; // { dg-error "break" }
}
}
}
+
+// { dg-prune-output "\\\[-Wswitch-unreachable]" }