mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
15 lines
194 B
C
15 lines
194 B
C
|
#include <stdio.h>
|
||
|
|
||
|
int foo = 1;
|
||
|
|
||
|
extern int *bar (void);
|
||
|
extern int bar_ifunc (void);
|
||
|
|
||
|
int
|
||
|
main (void)
|
||
|
{
|
||
|
if (bar () == &foo && bar_ifunc () == 0xbadbeef)
|
||
|
printf ("PASS\n");
|
||
|
return 0;
|
||
|
}
|