From dd72dcbd5d07a9b4a2f735765233e2cc5faa7849 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 8 Jan 2026 15:22:37 +0100 Subject: chore: adding custom types support. Signed-off-by: Amlal El Mahrouss --- test/test_samples/sample.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/test_samples/sample.cc') diff --git a/test/test_samples/sample.cc b/test/test_samples/sample.cc index 6a6bc44..038f487 100644 --- a/test/test_samples/sample.cc +++ b/test/test_samples/sample.cc @@ -10,7 +10,7 @@ class ostream return void; } - ostream& noop(const ostream in) + ostream& write(const char* buf, const long sz) { return *this; } @@ -18,7 +18,7 @@ class ostream int main() { - void* f = new ostream(); - f->noop(f); + ostream* f = new ostream(); + f->write("foo", 3); return 0; } -- cgit v1.2.3