/* PR17412 - ICE in fold_const.c during parsing.
fold would try to fold the operands of the break statement. */
/* { dg-do compile } */
/* { dg-options "" } */
void foo ()
{
for (;;)
for
package inter;
public class Break extends Stmt {
Stmt stmt;
public Break() {
if(Stmt.Enclosing == null)
error("unenclosed break");
stmt = Stmt.Enclosing;
}
public void gen(int b, int a) {
#!/bin/bash
# break-levels.sh: Breaking out of loops.
# "break N" breaks out of N level loops.
for outerloop in 1 2 3 4 5
do
echo -n "Group $outerloop: "
# -----------------------------------
/* break.c -- uses break to exit a loop */
#include
int main(void)
{
float length, width;
printf("Enter the length of the rectangle:\n");
while (scanf("%f", &length) == 1
//------------------------------------------------------------------------------
//
// Formula Name: Three Line Break - TLB
// Author/Uploader: Laurent
// E-mail:
// Date/Time A
/* break.c -- uses break to exit a loop */
#include
int main(void)
{
float length, width;
printf("Enter the length of the rectangle:\n");
while (scanf("%f", &length) == 1