diff options
Diffstat (limited to 'gnulib-local/tests/test-moo-sub1.oo.c')
-rw-r--r-- | gnulib-local/tests/test-moo-sub1.oo.c | 13 |
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; +} |