Commit cb8e7982 by Martin Sebor Committed by Martin Sebor

PR testsuite/82988 - g++.dg/cpp0x/lambda/lambda-switch.C fail

gcc/testsuite/ChangeLog:

	PR testsuite/82988
	* g++.dg/cpp0x/lambda/lambda-switch.C: Prune unimportant warning.

From-SVN: r254786
parent 865a86a0
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> 2017-11-15 H.J. Lu <hongjiu.lu@intel.com>
PR target/82990 PR target/82990
...@@ -27,7 +32,7 @@ ...@@ -27,7 +32,7 @@
PR fortran/78240 PR fortran/78240
gfortran.dg/pr78240.f90: Prune run-on errors. gfortran.dg/pr78240.f90: Prune run-on errors.
2017-11-15 Bin Cheng <bin.cheng@arm.com> 2017-11-15 Bin Cheng <bin.cheng@arm.com>
PR tree-optimization/82726 PR tree-optimization/82726
......
...@@ -16,7 +16,7 @@ main () ...@@ -16,7 +16,7 @@ main ()
break; // { dg-error "break" } break; // { dg-error "break" }
} }
}; };
l = []() // { dg-warning "statement will never be executed" } l = []()
{ {
case 3: // { dg-error "case" } case 3: // { dg-error "case" }
break; // { dg-error "break" } break; // { dg-error "break" }
...@@ -24,3 +24,5 @@ main () ...@@ -24,3 +24,5 @@ main ()
} }
} }
} }
// { dg-prune-output "\\\[-Wswitch-unreachable]" }
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