[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0029-18.cs
blob92f2b0f382071813fd96c261896abefc5b3d8c21
1 // CS0029: Cannot implicitly convert type `T' to `int*'
2 // Line: 8
3 // Compiler options: -unsafe
5 class T
7 static unsafe void Main ()
9 int* a = default (T);