2010-04-02 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs0019-7.cs
blob8c828f6c2b3505bda6e06bf2d2ba68904448cf1d
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;
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);