PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / opt / thunk3-1.C
blobc540b0fa2b4f0052e410a286b30f925634b40c68
1 // { dg-do compile }
2 // { dg-options "-O1" }
3 struct Foo { };
4 struct Bar { virtual ~Bar(); };
5 struct Baz: public virtual Bar { virtual void Func (Foo); };
6 void unused() { Baz().Func(Foo()); }