[PR c++/83667] Fix tree_dump ICE
[official-gcc.git] / gcc / testsuite / g++.dg / ipa / pr83667.C
blob25522daf04be7b3478b5191fb02fce2077a88236
1 // { dg-require-alias "" }
2 // { dg-options "-fdump-ipa-inline" }
3 // c++/83667 ICE dumping a static thunk when TARGET_USE_LOCAL_THUNK_ALIAS_P
6 struct a
8   virtual ~a ();
9 };
11 struct b
13   virtual void d (...);
16 struct c : a, b
18   void d (...)
19   {
20   }
23 c c;
25 // { dg-final { scan-ipa-dump "summary for void c::\[^\\n\]*THUNK0" "inline" } }