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

13 lines
210 B
C#
Executable File

// CS0242: The operation in question is undefined on void pointers
// Line: 10
// Compiler options: -unsafe
unsafe class C
{
public static void Main ()
{
void* v = null;
int b = *v is string;
}
}