The power of the amp must be significantly lower than the cab load, or youll risk cone damage like HTH said.
You can stick a bass guitar in a guitar amp though, cant imagine why that would not work out, exept offcourse you should pay attention the low end isnt too much for the cab.