aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/145 recursive linking/3rdorderdeps/main.c.in
blob: 643c24694875c60eac87cf6e2883ed5b81ef36d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <stdio.h>

#include "../lib.h"

SYMBOL_IMPORT int get_@LIBTYPE@@DEPENDENCY@dep_value (void);

int main(void) {
  int val;

  val = get_@LIBTYPE@@DEPENDENCY@dep_value ();
  if (val != @VALUE@) {
    printf("@LIBTYPE@@DEPENDENCY@ was %i instead of @VALUE@\n", val);
    return -1;
  }
  return 0;
}