summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0029-29.cs
blob: fcb4e8977c6ff9c289e5827368f953555ad5d305 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// CS0019: Cannot implicitly convert type `dynamic' to `int*'
// Line: 10
// Compiler options: -unsafe

public unsafe class C
{
	public static void Main ()
	{
		dynamic d = 1;
		int* i = d;
	}
}