* config/bfin/bfin.c (effective_address_32bit_p): Return true for
[official-gcc/alias-decl.git] / gcc / testsuite / g++.dg / lookup / scoped5.C
blob37ac16423e1ef7adc2bfcd9e5dd9d1df2a5bcb71
1 // { dg-do compile }
3 // Origin: pepeaty@yahoo.com
5 // PR c++/10230: ICE while determining if refered non-static member
6 // is from a base type of the current class.
8 class A {
9 public:
10   class B {
11   public:
12     int a;                      // { dg-error "object missing" }
13   };
16 class C {
17 public:
18   void f(void) { sizeof(A::B::a); } // { dg-error "this location" }