aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/reloc.c
blob: 2851cdb697219db7cf28d4028c0e97e3e73ef01d (plain) (blame)
1
2
3
4
5
6
7


float get_value(unsigned x)
{
   static float values [] = {1.1f, 1.2f, 1.3f, 1.4f};
   return x < 4 ? values[x] : 0.0f;
}