Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/initlist130.C

raw
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.
4
5 template <int> void foo(int i) { const int c = int{i}; }