OSDN Git Service

fix
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.other / lookup13.C
1 // Origin: Mark Mitchell <mark@codesourcery.com>
2
3 int main() 
4 {
5   typedef double I;
6  
7   struct S1 {
8     typedef char I;
9     
10     struct S2;
11   };
12   
13   struct S1::S2 {
14     typedef I J;
15   };
16  
17   return !(sizeof (S1::S2::J) == 1);
18 }