From 0385817bb1301a778bb33f8405a435293b9f8905 Mon Sep 17 00:00:00 2001 From: David Moc Date: Thu, 5 Mar 2026 23:38:49 +0100 Subject: Pushing to repo for safety. --- tests/strings.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/strings.c (limited to 'tests/strings.c') diff --git a/tests/strings.c b/tests/strings.c new file mode 100644 index 0000000..04a9038 --- /dev/null +++ b/tests/strings.c @@ -0,0 +1,10 @@ +int main() { + char *str = "Hello"; + int len = 0; + + while (str[len] != 0) { + len = len + 1; + } + + return len; +} -- cgit v1.2.3