aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/2005-06-15-ExpandGotoInternalProblem.c
blob: 597b0bd9afe9542c62fc5e01ece9e264abcc39f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// RUN: %clang_cc1 -Wno-error=return-type -std=c99 %s -emit-llvm -o - | \
// RUN:    opt -O3 -disable-output
// PR580

int X, Y;
int foo(void) {
  int i;
        for (i=0; i<100; i++ )
        {
                break;
                i = ( X || Y ) ;
        }
}