* ResolvedReference.cs (.ctor): Set 'OriginalItemSpec' and 'ResolvedFrom',
[mcs.git] / tests / test-520.cs
blob831f200e669b83800969a46fd1a45301437d8153
1 using System;
3 class FakeInt {
4 private long _value;
5 public FakeInt (long val) { _value = val; }
6 public static implicit operator long (FakeInt self) { return self._value; }
9 class MainClass {
10 public static void Main ()
12 if(new FakeInt (42) != 42)
13 throw new Exception ();