Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/nsdmi-template20.C

raw
1 // PR c++/90479
2 // { dg-do compile { target c++11 } }
3
4 template <int n>
5 void foo ()
6 {
7 static int i {100};
8 struct { int a {i++}; } b {};
9 }
10 int main ()
11 {
12 foo<0> ();
13 }