It looks like an old flooring adhesive, possibly bitumen.
It doesn't have any imprints from gluing square vinyl tiles, so it may have been holding down some lino?
As with any bitumen adhesive of that age, there is the possibility of it containing asbestos.
The risks associated with it are extremely low, so don't worry about it; just be aware!