summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/2005-06-15-ExpandGotoInternalProblem.c
blob: dd1acc54bc1dcebc85f2d14c0c6141175916d05c (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// RUN: %clang_cc1 -std=c99 %s -emit-llvm -o - | \
// RUN:    opt -std-compile-opts -disable-output
// PR580

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