A micro-optimization of 'make dist'
[mcs.git] / tests / gtest-399.cs
blobee5db71bb2d6e7c27b3056b9d61308e9b20629e0
1 using System;
2 using System.Collections.Generic;
4 namespace TestIssue
6 class Base
10 class Derived : Base
14 class Program
16 static int Main ()
18 try {
19 IEnumerable<Derived> e1 = (IEnumerable<Derived>) (new Base [] { });
20 return 1;
22 catch (InvalidCastException)
24 return 0;