diff options
Diffstat (limited to 'Build/source/libs/cairo/cairotst.c')
-rw-r--r-- | Build/source/libs/cairo/cairotst.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Build/source/libs/cairo/cairotst.c b/Build/source/libs/cairo/cairotst.c new file mode 100644 index 00000000000..d8665155359 --- /dev/null +++ b/Build/source/libs/cairo/cairotst.c @@ -0,0 +1,16 @@ +/* cairotst.c: Basic test for libcairo + * + * Copyright (C) 2013 Peter Breitenlohner <tex-live@tug.org> + * You may freely use, modify and/or distribute this file. + */ + +#include <stdio.h> +#include <pixman.h> +#include <cairo.h> + +int main (int argc, char **argv) +{ + printf ("%s: using pixman %s\n", argv[0], pixman_version_string ()); + printf ("%s: using cairo %s\n", argv[0], cairo_version_string ()); + return 0; +} |