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
2014-02-05 Balaji V. Iyer <balaji.v.iyer@intel.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
pr47589.C
blob
6bc3c80347dc5da3aa7ae2003eef26f4f85f2e45
1
// PR c++/47589
2
// { dg-do compile }
3
4
struct F
5
{
6
typedef void(*Cb)();
7
8
F(Cb);
9
};
10
11
struct C
12
{
13
template<class D> static void f();
14
};
15
16
template<class D>
17
struct TF : F
18
{
19
TF() : F(C::f<D>) { }
20
};
21
22
struct DTC : TF<DTC>
23
{
24
DTC() { }
25
};
26