1// PR c++/20681 2// { dg-options -Wreturn-type } 3 4struct a{~a();a();}; 5int GetMetaCombination (int a2) 6{ 7 a bi; 8 switch (a2) 9 { 10 case 1: 11 return 18; 12 break;//removing this works around the warning 13 default: 14 return 0; 15 } 16} 17