Could be wrong, but...I think that’s the pistol famous for being the very most unsafe in the world.
Something about...if you hit the slide release it goes off every time, even with zero pressure on the trigger.
You’re thinking of the Nambu 94 ; )
I believe you are thinking of the unsafe Type 94 Nambu. Squeeze it just right and BANG.
http://www.thefirearmblog.com/blog/2013/10/31/worst-pistol-ever-type-94-nambu/
The 8mm Nambu was the most unsafe..