I don't think there'd be any appreciable damage to the barrel itself. I know that the good old M-16/M-4 barrels are a pretty high end alloy containing things vanadium and molybdenum and suchlike. Now, if the slug hit the actual mechanism you could cause all sorts of malfunction. Well, probably nothing spectacular, just make it seize up and call it a day.