1// RUN: %clang_cc1 -std=c99 %s -emit-llvm -o - | \
2// RUN:    opt -std-compile-opts -disable-output
3// PR580
4
5int X, Y;
6int foo() {
7  int i;
8        for (i=0; i<100; i++ )
9        {
10                break;
11                i = ( X || Y ) ;
12        }
13}
14
15