Fortran: Fix PR 47485.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / initlist130.C
blob662a5a3ce3f86e0fe04184a608f49cb459cf4cc3
1 // PR c++/89197
2 // { dg-options "-Wno-c++11-extensions" }
3 // This used to ICE with std=c++03, therefore we run it in C++03 too.
5 template <int> void foo(int i) { const int c = int{i}; }