New test.
[mono.git] / mcs / errors / cs0019-7.cs
1 // cs0019-7.cs: Operator `+' cannot be applied to operands of type `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 }