C99 testsuite readiness: Compile more tests with -std=gnu89
[official-gcc.git] / gcc / testsuite / g++.dg / pr86823.C
blob18914b00aa8dcd80d9ca5d8f7849ece2958d18a2
1 // { dg-do compile }
3 struct X {
4 private:
5   template<typename T>
6   struct Y {
7     int data;
8   };
9 public:
10   int value;
13 int main() {
14   typename X::Y<int> a; // { dg-error "private" }