6 lines
184 B
Ada
6 lines
184 B
Ada
type T is limited private; -- inner structure is hidden
|
|
X, Y: T;
|
|
B: Boolean;
|
|
-- The following operations do not exist:
|
|
X := Y; -- illegal (cannot be compiled
|
|
B := X = Y; -- illegal
|