summaryrefslogtreecommitdiff
path: root/gnulib-local/tests/test-moo-sub1.oo.c
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2014-12-24 07:38:37 +0000
committer <>2015-02-02 12:02:29 +0000
commit482840e61f86ca321838a91e902c41d40c098bbb (patch)
tree01ea2e242fd2792d19fe192476601587901db794 /gnulib-local/tests/test-moo-sub1.oo.c
downloadgettext-tarball-482840e61f86ca321838a91e902c41d40c098bbb.tar.gz
Imported from /home/lorry/working-area/delta_gettext-tarball/gettext-0.19.4.tar.xz.gettext-0.19.4
Diffstat (limited to 'gnulib-local/tests/test-moo-sub1.oo.c')
-rw-r--r--gnulib-local/tests/test-moo-sub1.oo.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/gnulib-local/tests/test-moo-sub1.oo.c b/gnulib-local/tests/test-moo-sub1.oo.c
new file mode 100644
index 0000000..bc928da
--- /dev/null
+++ b/gnulib-local/tests/test-moo-sub1.oo.c
@@ -0,0 +1,13 @@
+#include <config.h>
+
+/* Specification. */
+#include "test-moo-sub1.h"
+
+#pragma implementation
+
+/* Test an override. */
+int sub1::write (sub1_t x, void *buf, size_t len)
+{
+ fwrite (buf, 1, len, x->fp);
+ return 0;
+}