summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0244-2.cs
blob: c6249bf213e38fffc6937da2041305b9e68bc966 (plain)
1
2
3
4
5
6
7
8
9
10
11
// CS0244: The `is' operator cannot be applied to an operand of pointer type
// Line: 9
// Compiler options: -unsafe

class C
{
    static unsafe void Main()
    {
        bool p = null is int*;
    }
}