mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-04 10:50:07 +00:00
19 lines
258 B
C
19 lines
258 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
int
|
|
__attribute__((noinline))
|
|
/* Workaround for clang/lld failing to override this from a module. */
|
|
__attribute__((weak))
|
|
baz (int x)
|
|
{
|
|
abort ();
|
|
}
|
|
|
|
int
|
|
bar (int x)
|
|
{
|
|
puts ("in bar");
|
|
return baz (x + 1) + 2;
|
|
}
|