summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/nest4.C
blob: f7af04df9a500c652cd6a38d5e4c4b967a46d51d (plain)
1
2
3
4
5
6
7
8
9
// { dg-do assemble  }
// { dg-options "-pedantic-errors" }
// GROUPS passed nested-classes
class vec {
    class blah { };

    ::vec::blah	satan( 0);// { dg-error "" } .*
    blah	herman( 0);// { dg-error "" } .*
};