summaryrefslogtreecommitdiff
path: root/elf/unload4mod4.c
blob: ba5a144d3822d46266463eaae776edf10f9f27da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <stdio.h>
#include <stdlib.h>

int
__attribute__((noinline))
baz (int x)
{
  abort ();
}

int
bar (int x)
{
  puts ("in bar");
  return baz (x + 1) + 2;
}