[mini] Fix test compiling when running !MOBILE
[mono.git] / mcs / errors / cs0431.cs
1 // CS0431: Alias `foo' cannot be used with `::' since it denotes a type. Consider replacing `::' with `.'
2 // Line: 13
3
4 using foo = A;
5
6 class A {
7         public class B { }
8 }
9
10 class X {
11         static void Main ()
12         {
13                 foo::B b = new A.B ();
14         }
15 }