blob: b65a8473a09a2047aba82439a47ce49a5cf54c28 [file] [log] [blame]
// PR c++/97899
// { dg-do compile { target c++11 } }
template <typename T = int>
int fn()
{
return 1;
}
template <typename T>
void bar() {
const int i = int{fn()};
}