repo.or.cz
/
official-gcc
/
constexpr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* pt.c (retrieve_specialization): Don't get confused by a
[official-gcc/constexpr.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
using15.C
blob
b158ac09cf67126ca4441c84bb43c4b14707ae97
1
// Reduced from the testcase for c++/29433
2
3
template <class T>
4
struct A: T
5
{
6
void f(typename T::type);
7
using T::f;
8
void g() { f(1); }
9
};
10
11
template <class T>
12
struct B: T
13
{ typedef int type; };
14
15
struct C
16
{
17
typedef double type;
18
void f();
19
};
20
21
int main()
22
{
23
A<B<A<C> > > a;
24
a.g();
25
}