Clean up some minor white space issues in trans-decl.c and trans-expr.c
[official-gcc.git] / gcc / testsuite / g++.dg / torture / pr54647.C
blob2177ecd6799cf1b8bf4308eabe80c52b6ead2e01
1 // { dg-do compile }
3 class A
5 };
6 template <class type> struct D:A
8   type & operator[](int);
9 };
10 struct B
12   typedef D <int *>Row;
13   struct C
14     {
15       Row *row;
16     };
18 B::C a;
19 B::Row & b = *a.row;
20 void
21 fn1 ()
23   while (1)
24     b[0] = b[0] ? (int *) -1 : 0;