// PR c++/97899 // { dg-do compile { target c++11 } } template int fn() { return 1; } template void bar() { const int i = int{fn()}; }