2017-04-10 11:32:00 +00:00
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
extern void abort (void);
|
|
|
|
extern int foo (int) __attribute__ ((visibility("hidden")));
|
|
|
|
|
2018-12-28 15:25:28 +00:00
|
|
|
void bar(void)
|
2017-04-10 11:32:00 +00:00
|
|
|
{
|
|
|
|
if (foo (5) != 5)
|
|
|
|
abort ();
|
|
|
|
printf("PASS\n");
|
|
|
|
}
|