Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-elfweak/aliasmain.c
2023-03-06 14:48:14 +01:00

12 lines
194 B
C

#include <stdio.h>
extern int *psym1, *psym2;
extern int strongsym;
int
main (void)
{
printf ("value via psym1: %d, via psym2: %d, strong %d\n",
*psym1, *psym2, strongsym);
return 0;
}