]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/2005-06-15-ExpandGotoInternalProblem.c
Vendor import of clang release_38 branch r258549:
[FreeBSD/FreeBSD.git] / test / CodeGen / 2005-06-15-ExpandGotoInternalProblem.c
1 // RUN: %clang_cc1 -std=c99 %s -emit-llvm -o - | \
2 // RUN:    opt -O3 -disable-output
3 // PR580
4
5 int X, Y;
6 int foo() {
7   int i;
8         for (i=0; i<100; i++ )
9         {
10                 break;
11                 i = ( X || Y ) ;
12         }
13 }
14