From 361bb55f01ba28960a8127b0a16c1e7a7a8de61a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Fri, 17 Sep 2021 20:57:05 +0200 Subject: Rewrite mktpl script in C The Perl version didn't handle multiple interpolations on the same line. --- t/user.tc | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 t/user.tc (limited to 't/user.tc') diff --git a/t/user.tc b/t/user.tc new file mode 100644 index 0000000..3d92e16 --- /dev/null +++ b/t/user.tc @@ -0,0 +1,5 @@ +printf("

User "); +printf("%d", id); +printf(": "); +printf("%s", user->name ); +printf("

"); -- cgit v1.2.3