[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / template / incomplete8.C
blobd6cde6ab1ac8f38720fdf7ffc646d1e4c14d0779
1 // PR c++/71193
2 // { dg-options "" }
4 class Heap;
5 class A {
6 public:  
7   Heap *m_fn1();
8 };
9 template <typename> class B : A {
10   void m_fn2() { m_fn1()->HashSeed; } // { dg-warning "incomplete" }