Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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
>
();
}