summaryrefslogtreecommitdiff
path: root/test cases/unit/35 both library usability/consumer/tester.c
blob: 9a2538b31141c0f366c3669681120695ef97f7bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <stdio.h>

#if defined(_MSC_VER) && !defined(PROVIDER_STATIC)
__declspec(dllimport)
#endif
int both_get_dat_value (void);

int main (int argc, char *argv[])
{
  int got = both_get_dat_value ();

  if (got != 111) {
    printf ("Got %i instead of 111\n", got);
    return 2;
  }
  return 0;
}