summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/nest22.C
blob: dfbc038181d9f8e55390b72d1622213ea2e90ebb (plain)
1
2
3
4
5
6
7
// { dg-do assemble  }
// GROUPS passed nested-classes
class foo {
public:
   typedef int bar;
   foo::bar    fb; // this line causes a syntax error!
};