☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr65127.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/pr65127.C
code
plain
raw
1
// PR c++/65127
2
// { dg-do compile { target c++11 } }
3
4
template <int N>
5
void
6
foo ()
7
{
8
static int i {100};
9
struct { int id {i++}; } j;
10
}
11
12
int
13
main ()
14
{
15
foo<0> ();
16
}