diff options
author | Owen Taylor <otaylor@redhat.com> | 2001-11-27 00:27:51 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-11-27 00:27:51 +0000 |
commit | e369baa4f65aaceb31d8aeaf322e5d1fe0869311 (patch) | |
tree | 0a08e010ece11fde215e77e18f2f0d3082a8c4df /tests/cxx-test.C | |
parent | 8eb8470fde676c147a76e406e1fb2c66a00d016b (diff) | |
download | pango-e369baa4f65aaceb31d8aeaf322e5d1fe0869311.tar.gz |
Add a test program that includes all headers in a C++ program. (#52606)
Mon Nov 26 19:24:21 2001 Owen Taylor <otaylor@redhat.com>
* configure.in tests/Makefile.am tests/cxx-test.C: Add
a test program that includes all headers in a C++ program.
(#52606)
Diffstat (limited to 'tests/cxx-test.C')
-rw-r--r-- | tests/cxx-test.C | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/cxx-test.C b/tests/cxx-test.C new file mode 100644 index 00000000..7142152b --- /dev/null +++ b/tests/cxx-test.C @@ -0,0 +1,29 @@ +/* This test makes sure that all Pango headers can be included + * and compiled in a C++ program. + */ +#define PANGO_ENABLE_ENGINE +#define PANGO_ENABLE_BACKEND + +#include <pango/pango.h> + +#ifdef HAVE_X +#include <pango/pangox.h> +#endif + +#ifdef HAVE_XFT +#include <pango/pangoxft.h> +#endif + +#ifdef HAVE_FREETYPE +#include <pango/pangoft2.h> +#endif + +#ifdef HAVE_WIN32 +#include <pango/pangowin32.h> +#endif + +int +main () +{ + return 0; +} |