2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / lookup13.C
blob872c35ff0ce3b3a3160d2f20885c5d3e458b97c3
1 // { dg-do run  }
2 // Origin: Mark Mitchell <mark@codesourcery.com>
4 int main() 
6   typedef double I;
7  
8   struct S1 {
9     typedef char I;
10     
11     struct S2;
12   };
13   
14   struct S1::S2 {
15     typedef I J;
16   };
18   return !(sizeof (S1::S2::J) == 1);