1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-ipa-inline -fno-ipa-icf --param max-early-inliner-iterations=1" } */
3 /* { dg-add-options bind_pic_locally } */
7 void foo(const char *s);
16 inline_me_too (char *x)
21 int main(int argc, char **argv)
23 std::for_each (argv, argv + argc, inline_me);
24 std::for_each (argv, argv + argc, inline_me_too);
27 /* { dg-final { scan-ipa-dump-times "Considering void inline_me\\(" 1 "inline"} } */
28 /* { dg-final { scan-ipa-dump-times "Considering void inline_me_too\\(" 1 "inline"} } */