a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
17 lines
361 B
C#
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);
|
|
}
|
|
}
|
|
}
|
|
}
|