[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / lto / 20081119_1.C
blob71a2a5c02428e3127cedebfb11363064de61a5fb
1 class foo {
2  public:
3  foo () {}
4  virtual ~foo() {}
5  virtual void m() {}
6 };
8 template<typename t>
9 class bar : public foo {
10  public:
11  bar () {}
14 void
15 f2 (bar<int> *p)
17  p->m();