repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Daily bump.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nsdmi-template20.C
blob
06448d92f1241de48f3e2b346918f3a08a37802b
1
// PR c++/90479
2
// { dg-do compile { target c++11 } }
3
4
template <int n>
5
void foo ()
6
{
7
static int i {100};
8
struct { int a {i++}; } b {};
9
}
10
int main ()
11
{
12
foo<0> ();
13
}