Fix typo in test case
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / debug2.C
blob200aeb3cffc16cae0ed4c4389c418f1c0df9f9c3
1 // Build don't link:
2 // Special g++ Options: -funroll-loops -O2 -g
4 inline void f()
6   typedef int T;
9 inline void g()
11   typedef double U;
14 int n;
16 struct B
18   ~B() { 
19     for (int i = 0; i < n; ++i)
20       g(); 
21   }
24 struct D : public B {
25   ~D() { 
26     for (int j = 0; j < n; ++j)
27       f(); 
28   }
31 D d;