Files
mono/mcs/errors/cs0196.cs
T
Marek Safar 1fb4eab34b new tests + error syntax fixes
svn path=/trunk/mcs/; revision=48785
2005-08-24 15:23:34 +00:00

14 lines
210 B
C#

// cs0196.cs: A pointer must be indexed by only one value
// Line: 10
// Compiler options: -unsafe
using System;
unsafe class ZZ {
static void Main () {
int *p = null;
if (p [10,4] == 4)
return;
}
}