OSDN Git Service

* typeck2.c (abstract_virtual_errors): Reword diagnostics, make them
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.other / lookup13.C
1 // { dg-do run  }
2 // Origin: Mark Mitchell <mark@codesourcery.com>
3
4 int main() 
5 {
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   };
17  
18   return !(sizeof (S1::S2::J) == 1);
19 }