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
* c-common.c (get_priority): Add check for
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
memtemp46.C
blob
6afbc6541f2235935890af5cf8d8752ee8697596
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
}