Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr65127.C
blob: 2cdb8ee54d5defdd9f0255a64fb1c99e029c202e [
file
] [
log
] [
blame
]
// PR c++/65127
// { dg-do compile { target c++11 } }
template
<
int
N
>
void
foo
()
{
static
int
i
{
100
};
struct
{
int
id
{
i
++};
}
j
;
}
int
main
()
{
foo
<
0
>
();
}