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