Commit f33bcdae by Roger Sayle Committed by Roger Sayle

re PR middle-end/18493 (gcc doesn't like switch blocks without case/default labels)


	PR middle-end/18493
	* gcc.dg/switch-8.c: New test case.

From-SVN: r92271
parent 26be549a
2004-12-16 Roger Sayle <roger@eyesopen.com>
PR middle-end/18493
* gcc.dg/switch-8.c: New test case.
2004-12-16 Nathan Sidwell <nathan@codesourcery.com> 2004-12-16 Nathan Sidwell <nathan@codesourcery.com>
PR c++/18905 PR c++/18905
......
/* PR middle-end/18493 */
/* { dg-do link } */
int main() {
goto bug;
switch(0) {
bug: return 0;
}
}
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