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