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
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nsdmi-template6.C
blob
33ed82d0813721c3da69d25e74465cd352fba466
1
// PR c++/58829
2
// { dg-do compile { target c++11 } }
3
4
struct A {
5
int f() {return 0;}
6
} a;
7
8
struct B {
9
template<int=0> struct C {
10
int i = a.f();
11
};
12
};
13
B::C<> c;