summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/lookup1.C
blob: c7f220fd60ed05ce1f85dd52625721d588e62b0f (plain)
1
2
3
4
5
6
7
8
9
// { dg-do assemble  }
// simple test for id from base class during class defn

struct foo {
  enum { blah = 1 };
};
struct bar : public foo {
  char cache[blah];
};