Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.other/lookup13.C

raw
1 // { dg-do run }
2 // Origin: Mark Mitchell <[email protected]>
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 }