1 // { dg-options "-O1" } 2 3 template <typename T> f(T t)4 int f(T t) { 5 switch (t) { 6 case 1: 7 return 5; 8 case 2: 9 return 6; 10 case 3: 11 return -4; 12 case 4: 13 return 8; 14 case 5: 15 return 12; 16 case 6: 17 return 13; 18 default: 19 return -27; 20 } 21 } 22 23 template int f(int); 24