Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nsdmi-template20.C
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
>
();
}