This commit was manufactured by cvs2svn to create branch 'mono-1-0'.
[mono.git] / mcs / errors / cs0019-7.cs
1 // cs0019.cs: Can not apply operator + between string and float *
2 // Line: 12
3 // Compiler options: -unsafe
4 using System;
5
6 public class Driver {
7   public static void Main () {
8     float [] floats = new float[1];
9     floats[0] = 1.0f;
10     unsafe {
11       fixed (float *fp = &floats[0]) {
12         Console.WriteLine ("foo" + fp);
13       }
14     }
15   }
16 }