mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 14:50:05 +00:00
15 lines
151 B
C
15 lines
151 B
C
|
int foo (void);
|
||
|
int baz (void);
|
||
|
extern int weak (void);
|
||
|
asm (".weak weak");
|
||
|
|
||
|
int foo (void)
|
||
|
{
|
||
|
return 20;
|
||
|
}
|
||
|
|
||
|
int baz (void)
|
||
|
{
|
||
|
return weak () + 1;
|
||
|
}
|