From 2f92cee416aef4684471c539e370772824ae7854 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Mon, 18 Apr 2022 11:08:59 +0200 Subject: [PATCH] Update code for generated asm analysis --- tests/tgen-mstring.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/tgen-mstring.c b/tests/tgen-mstring.c index 02c9863d..b450290b 100644 --- a/tests/tgen-mstring.c +++ b/tests/tgen-mstring.c @@ -32,3 +32,8 @@ void convert(string_t s, unsigned n) { m_string_set_ui(s, n); } + +void construct(char s[], unsigned n) +{ + strcpy(s, M_CSTR("Hello %u worlds")); +}