☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
defarg18.C
☽
☼
gcc/testsuite/g++.dg/template/defarg18.C
code
plain
raw
1
// PR c++/60067
2
3
template <class> struct A;
4
template <class> struct B { enum { v = 1 }; };
5
6
template <class T = void (A<int>)>
7
struct C {
8
void f () {
9
void g (int [B<T>::v]);
10
}
11
};
12
13
void foo (void) {
14
C<int>().f ();
15
}