repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR c++/85553
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr65127.C
blob
2cdb8ee54d5defdd9f0255a64fb1c99e029c202e
1
// PR c++/65127
2
// { dg-do compile { target c++11 } }
3
4
template <int N>
5
void
6
foo ()
7
{
8
static int i {100};
9
struct { int id {i++}; } j;
10
}
11
12
int
13
main ()
14
{
15
foo<0> ();
16
}