summaryrefslogtreecommitdiffstats
path: root/gnulib-local/tests/test-moo-sub2.oo.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnulib-local/tests/test-moo-sub2.oo.c')
-rw-r--r--gnulib-local/tests/test-moo-sub2.oo.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnulib-local/tests/test-moo-sub2.oo.c b/gnulib-local/tests/test-moo-sub2.oo.c
new file mode 100644
index 0000000..7b61507
--- /dev/null
+++ b/gnulib-local/tests/test-moo-sub2.oo.c
@@ -0,0 +1,20 @@
+#include <config.h>
+
+/* Specification. */
+#include "test-moo-sub2.h"
+
+#include <stdio.h>
+
+#pragma implementation
+
+void
+sub2::begin_indent (sub2_t x)
+{
+ x->indent++;
+}
+
+void
+sub2::end_indent (sub2_t x)
+{
+ x->indent--;
+}