blob: 0f076c9bf79f1709d898d9bce5d93ed9eae7db4a [file] [log] [blame]
Dan Gohman2b62af22009-12-05 00:02:37 +00001// RUN: %llvmgcc -std=c99 %s -S -o - | \
Dan Gohmanf17a25c2007-07-18 16:29:46 +00002// 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