mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-06 12:09:26 +08:00
12 lines
176 B
C
12 lines
176 B
C
|
#include <stdio.h>
|
||
|
|
||
|
extern void abort (void);
|
||
|
extern int foo (int) __attribute__ ((visibility("hidden")));
|
||
|
|
||
|
int bar()
|
||
|
{
|
||
|
if (foo (5) != 5)
|
||
|
abort ();
|
||
|
printf("PASS\n");
|
||
|
}
|