Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/ld/testsuite/ld-i386/weakundef1.c
2023-03-06 14:48:14 +01:00

16 lines
222 B
C

#include <stdlib.h>
#include <stdio.h>
extern int visibility_var_weak
__attribute__ ((weak, visibility ("hidden")));
int
main ()
{
if (&visibility_var_weak != NULL)
abort ();
printf ("PASS\n");
return 0;
}