| 1 |
// { dg-do compile } |
| 2 |
|
| 3 |
// Origin: Volker Lukas <[email protected]> |
| 4 |
|
| 5 |
// PR c++/9554: Access checking for template ID as class head. |
| 6 |
|
| 7 |
class enclose |
| 8 |
{ |
| 9 |
template<typename T> struct enclosed; |
| 10 |
}; |
| 11 |
|
| 12 |
template <> |
| 13 |
struct enclose::enclosed<int>; |