~ubuntu-branches/debian/sid/frama-c/sid

« back to all changes in this revision

Viewing changes to tests/misc/loop_join.c

  • Committer: Bazaar Package Importer
  • Author(s): Mehdi Dogguy
  • Date: 2009-06-03 08:19:25 UTC
  • Revision ID: james.westby@ubuntu.com-20090603081925-kihvxvt0wy3zc4ar
Tags: upstream-20081201.dfsg
ImportĀ upstreamĀ versionĀ 20081201.dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
int U[10000];
 
2
void main () {
 
3
  int i;
 
4
  i=0;
 
5
  while(1)
 
6
    {
 
7
      U[i]=0;
 
8
      if (i == 200) U[i]=-1;
 
9
      i = 1000 - i;
 
10
      if (i < 500)
 
11
        i++;
 
12
      if (i == 400)
 
13
        goto l_end_loop;
 
14
      }
 
15
 l_end_loop:
 
16
}