summaryrefslogtreecommitdiffstats
path: root/test cases/common/145 recursive linking/edge-cases/stomain.c
blob: a16a89b31a423d8254bae3f0fa0a1869e3842482 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <stdio.h>

#include "../lib.h"

int get_stodep_value (void);

int main(void) {
  int val;

  val = get_stodep_value ();
  if (val != 1) {
    printf("st1 value was %i instead of 1\n", val);
    return -1;
  }
  return 0;
}