summaryrefslogtreecommitdiff
path: root/Build/source/libs/gmp/gmptest.c
blob: a0f3afe6c290018c0547273777345e0b42c0ee15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* gmptst.c: Basic test for libgmp
 *
 * Copyright (C) 2014 Peter Breitenlohner <tex-live@tug.org>
 * You may freely use, modify and/or distribute this file.
 */

#include <stdio.h>
#include <gmp.h>

int main (int argc, char **argv)
{
  printf ("%s: Compiled with gmp version %d.%d.%d; using %s\n",
          argv[0], __GNU_MP_VERSION, __GNU_MP_VERSION_MINOR, __GNU_MP_VERSION_PATCHLEVEL,
          gmp_version);
  return 0;
}