aboutsummaryrefslogtreecommitdiff
path: root/test cases/common/149 recursive linking/edge-cases/shstmain.c
blob: 6598c72ad6e834271861956856c32c358da5a482 (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_stshdep_value (void);

int main() {
  int val;

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