summaryrefslogtreecommitdiff
path: root/tests/test-termios-c++.cc
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2010-09-17 02:09:55 +0200
committerBruno Haible <bruno@clisp.org>2010-09-17 02:09:55 +0200
commitf963ec24bef79448bbd49b373f0ec84c4221ada6 (patch)
treec3a4bd5580bea447788739af431b87f2d84f99a7 /tests/test-termios-c++.cc
parent6dcf524e1f4e344cc0256b3b7efb53babc452a62 (diff)
downloadgnulib-f963ec24bef79448bbd49b373f0ec84c4221ada6.tar.gz
Tests for module 'termios'.
* modules/termios-c++-tests: New file. * modules/termios-tests: New file. * tests/test-termios-c++.cc: New file. * tests/test-termios.c: New file.
Diffstat (limited to 'tests/test-termios-c++.cc')
-rw-r--r--tests/test-termios-c++.cc30
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/test-termios-c++.cc b/tests/test-termios-c++.cc
new file mode 100644
index 0000000000..e2ea11a1df
--- /dev/null
+++ b/tests/test-termios-c++.cc
@@ -0,0 +1,30 @@
+/* Test of <termios.h> substitute in C++ mode.
+ Copyright (C) 2010 Free Software Foundation, Inc.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program 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 General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>. */
+
+/* Written by Bruno Haible <bruno@clisp.org>, 2010. */
+
+#define GNULIB_NAMESPACE gnulib
+#include <config.h>
+
+#include <termios.h>
+
+#include "signature.h"
+
+
+int
+main ()
+{
+}