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
2017-06-14 Paolo Carlini <paolo.carlini@oracle.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
pr67337.C
blob
df2651bc9a570b6af5fa923a6aef4099aeeb1e73
1
template <class> class A
2
{
3
void m_fn1 (int *, int);
4
};
5
6
template <class> class B
7
{
8
public:
9
typedef int Type;
10
};
11
12
template <class> class C
13
{
14
public:
15
C (int);
16
template <template <class> class T> void m_fn2 (typename T<void>::Type);
17
};
18
19
template <>
20
void
21
A<int>::m_fn1 (int *, int)
22
{
23
C<int> a (0);
24
a.m_fn2<B> (0);
25
}