From b6b00dd55e035bfbe311a527b567962ffa77ee43 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 26 Jun 2024 18:18:37 +0200 Subject: Merging upstream version 1:4.15.2. Signed-off-by: Daniel Baumann --- tests/tests/common/time_0.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 tests/tests/common/time_0.c (limited to 'tests/tests/common/time_0.c') diff --git a/tests/tests/common/time_0.c b/tests/tests/common/time_0.c new file mode 100644 index 0000000..6937361 --- /dev/null +++ b/tests/tests/common/time_0.c @@ -0,0 +1,16 @@ +/* + * gcc time_0.c -o time_0.so -shared + * LD_PRELOAD=./time_0.so ./test + */ + +#include +#include + + +time_t time (time_t *t) +{ + fprintf (stderr, "time 0\n"); + + return (time_t)0; +} + -- cgit v1.2.3