Fortran: Fix PR 47485.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / initlist-template3.C
blobb65a8473a09a2047aba82439a47ce49a5cf54c28
1 // PR c++/97899
2 // { dg-do compile { target c++11 } }
4 template <typename T = int>
5 int fn()
7   return 1;
10 template <typename T>
11 void bar() {
12   const int i = int{fn()};