Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: ee0bc0d176
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (16 sloc) 0.367 kb
// Since the structs are readonly, the expression here is a jit time constant.
using System;
struct A {
struct B { int dummy; public C c; }
struct C { int dummy; public D d; }
struct D { public int i; }
static readonly B b, bb;
static int Main ()
{
for (int i = 0; i < 50000000; i++) {
if (b.c.d.i != bb.c.d.i)
return 1;
}
return 0;
}
}
Jump to Line
Something went wrong with that request. Please try again.