Merge branch 'master' of http://github.com/mono/mono
[mono.git] / mcs / errors / cs0664-3.cs
1 // cs0664-3.cs: Literal of type double cannot be implicitly converted to type `float'. Add suffix `f' to create a literal of this type\r
2 // Line: 13\r
3 \r
4 using System;\r
5 \r
6 public sealed class BoundAttribute : System.Attribute\r
7 {\r
8         public float D;\r
9 }\r
10 \r
11 class C\r
12 {\r
13         [Bound (D = 300d)]\r
14         double d2;\r
15 }