PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / abi / thunk4.C
blob6e8f124bc5eeb6d199954d5378bf7bd4caa30b1a
1 // { dg-require-weak "" }
2 // { dg-skip-if "Linkonce not weak" { *-*-mingw* *-*-cygwin } }
3 // { dg-final { scan-assembler ".weak\[ \t\]_?_ZThn._N7Derived3FooEv" { target { ! { *-*-darwin* } } } } }
4 // { dg-final { scan-assembler ".weak_definition\[ \t\]_?_ZThn._N7Derived3FooEv" { target { *-*-darwin* } } } }
6 struct Base 
8   virtual void Foo ();
9 };
11 struct Filler 
13   virtual void Baz ();
16 struct Derived : Filler, Base 
18   virtual void Foo ();
21 inline void Derived::Foo ()
25 Derived f;