Add test to make sure that using -g twice errors out