Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

14 lines
317 B
C#

using System;
class T {
// test x ? A : B where A and B are constants.
static void Main () {
int a = 0, b = 0, c = 0, d = 0, e = 0;
for (int i = 0; i < 50000000; i ++) {
a = b == 10 ? 1 : 1;
b = b > 1 ? 9 : 8;
c = b <= c ? 1 : 2;
d = d > 0 ? 1 : 0;
e = e == 0 ? -1 : 0;
}
}
}