mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-18 23:03:29 +08:00
6753e38a5c
PR ld/19874 * testsuite/ld-x86-64/pr19784c.c (bar): Change return type to void.
12 lines
181 B
C
12 lines
181 B
C
#include <stdio.h>
|
|
|
|
extern void abort (void);
|
|
extern int foo (int) __attribute__ ((visibility("hidden")));
|
|
|
|
void bar(void)
|
|
{
|
|
if (foo (5) != 5)
|
|
abort ();
|
|
printf("PASS\n");
|
|
}
|