// { dg-options "-std=c++0x" } template int foo(int a) { const unsigned b = a < 0 ? -a : a; return 0; } int i = foo(1);