Incredibly enough, the US army or no any army for that matter, did not invent any such gun. It was the Mythbusters who demonstrated that if you have a gun and curve the barrel in a 90 degree angle, you can still shoot lethal bullets.
Now that is mind bending. No matter what, I would have never thought that such gun can exist and that it would actually work. Way to go, Mythbusters.