Debian Codegraph @

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

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 }