repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
using8.C
blob
26eb4d3252c769f1d9e97f56ea1459b496b6f069
1
// { dg-do compile }
2
// Origin: Bill Clarke <llib at computer dot org>
3
// PR c++/11097: using declartion for a converter operator to a nested class
4
// in a base type
5
6
template <typename T>
7
struct A
8
{
9
struct Nested {};
10
operator Nested*();
11
};
12
13
template <typename T>
14
struct B : A<T>
15
{
16
using A<T>::operator typename A<T>::Nested*;
17
};
18
19
template struct B<int>;