PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / template / overload4.C
blob1a294eb3c054991b5f7e1992381bb562c3e2b612
1 // PR c++/20679
3 template <class T>
4 struct foo
6   struct bar
7   {
8     int m;
9   };
11   void m() const {}
12   void m() {}
13   
14   bool n() const { return b->m < 42; }
16   bar *b;