1 /* { dg-do compile } */
2 /* { dg-options "-O2 -flive-patching=inline-only-static -fdump-ipa-inline" } */
11 static int bar (int b
)
18 sum
= foo (m
) + bar (n
);
22 /* { dg-final { scan-ipa-dump "foo/0 function has external linkage when the user requests only inlining static for live patching" "inline" } } */