☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist130.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/initlist130.C
code
plain
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}; }