Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

17 lines
361 B
C#

// CS0019: Operator `+' cannot be applied to operands of type `string' and `float*'
// Line: 12
// Compiler options: -unsafe
using System;
public class Driver {
public static void Main () {
float [] floats = new float[1];
floats[0] = 1.0f;
unsafe {
fixed (float *fp = &floats[0]) {
Console.WriteLine ("foo" + fp);
}
}
}
}