[mcs] Allows shadowing of probing pattern variables
[mono.git] / mcs / errors / cs0144.cs
1 // CS0144: Cannot create an instance of the abstract class or interface `X'
2 // Line: 11
3 abstract class X {
4         public abstract void B ();
5
6 }
7
8 class Demo {
9         static void Main ()
10         {
11                 object x = new X ();
12         }
13 }