Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mono / benchmark / cmov5.cs
1 using System;
2 class T {
3         static void Main () {
4                 int a = 1, b = 2, c = 3, d = 4, e = 5;
5                 for (int i = 0; i < 500000000; i ++) {
6                         // on the stack
7                         a = e == 1 ? b : c;
8                         b = a == 1 ? c : d;
9                         c = b == 1 ? d : e;
10                         d = c == 1 ? e : a;
11                         e = d == 1 ? a : b;
12                 }
13         }
14         
15 }