* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / errors / gcs0208-4.cs
1 // cs0208-4.cs : Cannot take the address of, get the size of, or declare a pointer to a managed type `Splay<T>.Node'
2 // Line: 10
3 // Compiler options: /unsafe
4 // similar one to #75772 but using a class instead of a struct.
5 // Compiler options: /unsafe
6 public class Splay<T>
7 {
8   unsafe private class Node
9   {
10     private Node *            left, right;
11     private Node *            parent;
12     private T                 data;
13   } 
14 }
15