New test.
[mono.git] / mcs / errors / gcs0266.cs
1 // CS0266: Cannot implicitly convert type `I' to `C'. An explicit conversion exists (are you missing a cast?)
2 // Line: 16
3 \r
4 interface I\r
5 {\r
6 }\r
7 \r
8 struct C : I\r
9 {\r
10 }\r
11 \r
12 class X\r
13 {\r
14         static void Main (string[] args)\r
15         {\r
16                 C c = default (I);\r
17         }\r
18 }\r