blob: 18914b00aa8dcd80d9ca5d8f7849ece2958d18a2 [file] [log] [blame]
// { dg-do compile }
struct X {
private:
template<typename T>
struct Y {
int data;
};
public:
int value;
};
int main() {
typename X::Y<int> a; // { dg-error "private" }
}