summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2001-12-03 23:35:02 +0100
committerKevin Ryde <user42@zip.com.au>2001-12-03 23:35:02 +0100
commit33c22751aab3c5710a87c0c8489b2087f62b6f3d (patch)
treecb0ff9c6b5c11b009fe7d371d8d6e6b441781a17
parentecf8ba72dc72d85a3154b98ad6bef1f9178f0466 (diff)
downloadgmp-33c22751aab3c5710a87c0c8489b2087f62b6f3d.tar.gz
* tests/cxx/t-headers.cc: New file.
-rw-r--r--tests/cxx/t-headers.cc28
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/cxx/t-headers.cc b/tests/cxx/t-headers.cc
new file mode 100644
index 000000000..f795c0e63
--- /dev/null
+++ b/tests/cxx/t-headers.cc
@@ -0,0 +1,28 @@
+/* Test gmpxx.h doesn't depend on any other headers.
+
+Copyright 2001 Free Software Foundation, Inc.
+
+This file is part of the GNU MP Library.
+
+The GNU MP Library is free software; you can redistribute it and/or modify
+it under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation; either version 2.1 of the License, or (at your
+option) any later version.
+
+The GNU MP Library is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+License for more details.
+
+You should have received a copy of the GNU Lesser General Public License
+along with the GNU MP Library; see the file COPYING.LIB. If not, write to
+the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+MA 02111-1307, USA. */
+
+#include "gmpxx.h"
+
+int
+main (void)
+{
+ exit (0);
+}