blob: 06448d92f1241de48f3e2b346918f3a08a37802b [file] [log] [blame]
// PR c++/90479
// { dg-do compile { target c++11 } }
template <int n>
void foo ()
{
static int i {100};
struct { int a {i++}; } b {};
}
int main ()
{
foo<0> ();
}