summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/parse13.C
blob: e438ee2972d3f64d9bc1d6a2fa9eae83a301b594 (plain)
1
2
3
4
5
6
7
8
// { dg-do assemble  }

struct A { 
  struct B {}; 
  struct C;
};

struct A :: C : A :: B {}; // { dg-bogus "" } parse error before `:'