re PR c++/24163 (dependent Base class scope examined during unqualified name lookup...
[gcc.git] / gcc / testsuite / g++.dg / torture / pr39362.C
index fb23439f595c3fa6efedc74aee4f9d0862fdd63b..e7b0774d96f17f4acb22e6dc237f617c530e6c1c 100644 (file)
@@ -55,7 +55,7 @@ template <typename T, int cap> class I;
 template <typename T> struct I <T, 0> : H <T>
 {
   I (int capacity) { allocateBuffer (capacity); }
-  ~I () { deallocateBuffer (buffer ()); }
+  ~I () { this->deallocateBuffer (buffer ()); }
   using H <T>::allocateBuffer;
   H <T>::buffer;
 };