| 1 |
// PR c++/85634 |
| 2 |
|
| 3 |
namespace bsl { |
| 4 |
template <class T> void frob (const T *); |
| 5 |
} |
| 6 |
|
| 7 |
using namespace bsl; |
| 8 |
|
| 9 |
template<class VALUE> void frob (const VALUE &); |
| 10 |
|
| 11 |
template <typename T> |
| 12 |
struct TPL { |
| 13 |
friend void frob <T> (const T &); |
| 14 |
}; |
| 15 |
|
| 16 |
TPL<int> x; |