mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
36dcb3a97d
Extend the test a little to archives, not that we expect this to fail. Nor has the lto-18 test ever failed without -flto. * testsuite/ld-plugin/lto-18b.c (select): Remove. * testsuite/ld-plugin/lto-18c.c (select): Remove. * testsuite/ld-plugin/lto.exp: Build archives for lto-18 too, and run static versions of the test.
9 lines
93 B
C
9 lines
93 B
C
extern int f1 (int);
|
|
|
|
int f2 (int x)
|
|
{
|
|
if (x > 0)
|
|
return x * f1 (x - 1);
|
|
return 1;
|
|
}
|