In the following figure all surfaces are smooth. The system is released from rest, then
Acceleration of m is g.
Acceleration of wedge is g sin θ.
As both block having same acceleration along he inclined plane which is g sin θ. Normal force between them is zero.