diff options
Diffstat (limited to 'Build/source/libs/icu/icutest.c')
-rw-r--r-- | Build/source/libs/icu/icutest.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Build/source/libs/icu/icutest.c b/Build/source/libs/icu/icutest.c new file mode 100644 index 00000000000..1b744a23e20 --- /dev/null +++ b/Build/source/libs/icu/icutest.c @@ -0,0 +1,19 @@ +/* pixtest.c: Basic test for libicu* + * + * Copyright (C) 2013 Peter Breitenlohner <tex-live@tug.org> + * You may freely use, modify and/or distribute this file. + */ + +#include <stdio.h> +#include <unicode/ucnv.h> + +int main (int argc, char **argv) +{ + UVersionInfo icuVersion; + char icu_version[U_MAX_VERSION_STRING_LENGTH] = ""; + + u_getVersion(icuVersion); + u_versionToString(icuVersion, icu_version); + printf ("%s: using ICU version %s\n", argv[0], icu_version); + return 0; +} |