☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist-template3.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/initlist-template3.C
code
plain
raw
1
// PR c++/97899
2
// { dg-do compile { target c++11 } }
3
4
template <typename T = int>
5
int fn()
6
{
7
return 1;
8
}
9
10
template <typename T>
11
void bar() {
12
const int i = int{fn()};
13
}