// { dg-do compile { target c++11 } } template int foo(int a) { const unsigned b = a < 0 ? -a : a; return 0; } int i = foo(1);