Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/ld/testsuite/ld-plugin/lto-18a.c
2023-03-06 14:48:14 +01:00

22 lines
319 B
C

#include <stdio.h>
extern int select ();
extern int f1 (int);
extern int f2 (int);
int main (void)
{
switch (select ())
{
case 1:
printf ("%d\n", f1 (3));
break;
case 2:
printf ("%d\n", f2 (4));
break;
default:
printf ("%d\n", f2 (0));
break;
}
return 0;
}