☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
memtemp46.C
☽
☼
gcc/testsuite/g++.old-deja/g++.pt/memtemp46.C
code
plain
raw
1
// { dg-do link }
2
// GROUPS passed templates membertemplates
3
template<class T, class U>
4
class A
5
{
6
};
7
8
template<class U>
9
class A<float, U>
10
{
11
public:
12
template <class V>
13
void func(V v1 = 0) {}
14
};
15
16
int main()
17
{
18
A<float, int> a;
19
a.func("abc");
20
}